Commit fd00330e authored by Skylot's avatar Skylot

update gradle to 1.11

parent d10efec1
ext.jadxVersion = file('version').readLines().get(0) ext.jadxVersion = file('version').readLines().get(0)
version = jadxVersion
apply plugin: 'sonar-runner' apply plugin: 'sonar-runner'
subprojects { subprojects {
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'idea' apply plugin: 'idea'
apply plugin: 'eclipse' apply plugin: 'eclipse'
...@@ -14,8 +16,8 @@ subprojects { ...@@ -14,8 +16,8 @@ subprojects {
gradle.projectsEvaluated { gradle.projectsEvaluated {
tasks.withType(Compile) { tasks.withType(Compile) {
if (!"${it}".contains(":jadx-samples:")) { if (!"${it}".contains(':jadx-samples:')) {
options.compilerArgs << "-Xlint" << "-Xlint:unchecked" << "-Xlint:deprecation" options.compilerArgs << '-Xlint' << '-Xlint:unchecked' << '-Xlint:deprecation'
} }
} }
} }
...@@ -30,7 +32,7 @@ subprojects { ...@@ -30,7 +32,7 @@ subprojects {
dependencies { dependencies {
compile 'org.slf4j:slf4j-api:1.7.5' compile 'org.slf4j:slf4j-api:1.7.5'
testCompile 'junit:junit:4.11' testCompile 'junit:junit:4.11'
testCompile "org.mockito:mockito-core:1.9.5" testCompile 'org.mockito:mockito-core:1.9.5'
} }
repositories { repositories {
...@@ -66,5 +68,5 @@ task clean(type: Delete) { ...@@ -66,5 +68,5 @@ task clean(type: Delete) {
} }
task wrapper(type: Wrapper) { task wrapper(type: Wrapper) {
gradleVersion = '1.9' gradleVersion = '1.11'
} }
...@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME ...@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.9-bin.zip distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment