提交 a6b4043e 编写于 作者: S Skylot

update gradle and dependencies

上级 9cea0163
ext.jadxVersion = file('version').readLines().get(0)
version = jadxVersion
buildscript {
repositories {
mavenCentral()
jcenter()
}
}
plugins {
id "com.github.kt3k.coveralls" version "2.0.1"
id "info.solidsoft.pitest" version "1.1.1"
// id "com.github.ben-manes.versions" version "0.6"
}
apply plugin: 'sonar-runner'
ext.jadxVersion = file('version').readLines().get(0)
version = jadxVersion
subprojects {
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'jacoco'
apply plugin: 'coveralls'
apply plugin: 'com.github.kt3k.coveralls'
version = jadxVersion
......@@ -32,7 +45,7 @@ subprojects {
testCompile 'ch.qos.logback:logback-classic:1.1.2'
testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-core:1.10.10'
testCompile 'org.mockito:mockito-core:1.10.13'
testCompile 'org.spockframework:spock-core:0.7-groovy-2.0'
testCompile 'cglib:cglib-nodep:3.1'
}
......@@ -50,15 +63,12 @@ subprojects {
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
// setup coveralls (http://coveralls.io/) see http://github.com/kt3k/coveralls-gradle-plugin
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:0.6.1'
}
/* Sonar runner configuration */
repositories {
mavenCentral()
}
sonarRunner {
toolVersion = '2.4'
}
task copyArtifacts(type: Sync, dependsOn: ['jadx-cli:installApp', 'jadx-gui:installApp']) {
......@@ -81,13 +91,17 @@ task dist(dependsOn: pack) {
task samples(dependsOn: 'jadx-samples:samples') {
}
task build(dependsOn: [dist, samples]) {
task pitest(overwrite: true, dependsOn: 'jadx-core:pitest') {
}
task clean(type: Delete) {
task cleanBuildDir(type: Delete) {
delete buildDir
}
build.dependsOn(dist, samples)
clean.dependsOn(cleanBuildDir)
task wrapper(type: Wrapper) {
gradleVersion = '2.0'
gradleVersion = '2.2.1'
}
......@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip
ext.jadxClasspath = 'clsp-data/android-4.3.jar'
apply plugin: "info.solidsoft.pitest"
dependencies {
runtime files(jadxClasspath)
......@@ -15,3 +17,10 @@ task packTests(type: Jar) {
from sourceSets.test.output
}
pitest {
excludedMethods = ['toString']
threads = 4
enableDefaultIncrementalAnalysis = true
outputFormats = ['XML', 'HTML']
jvmArgs = ['-Xmx12G']
}
......@@ -6,7 +6,7 @@ dependencies {
compile(project(":jadx-core"))
compile(project(":jadx-cli"))
compile 'com.fifesoft:rsyntaxtextarea:2.5.0'
compile 'com.google.code.gson:gson:2.3'
compile 'com.google.code.gson:gson:2.3.1'
}
applicationDistribution.with {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册