Skip to content

Commit

Permalink
Replace Compile with JavaCompile in gradle build file, since Compile …
Browse files Browse the repository at this point in the history
…is deprecated
  • Loading branch information
Edward Poot committed Apr 14, 2016
1 parent fde08ab commit 4942f14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Expand Up @@ -15,12 +15,13 @@ dependencies {
compile files('libs/ijdk-2.0.0.jar')
compile files('libs/jagol-1.0.0.jar')
compile files('libs/java-diff-1.0.0.jar')
compile files('libs/qualog-2.1.0.jar')
compile files('libs/qualog-2.0.0.jar')
compile files('libs/pmdx-2.0.0.jar')
testCompile group: 'junit', name: 'junit', version: '4.+'
}

allprojects {
tasks.withType(Compile).all { Compile compile ->
tasks.withType(JavaCompile).all { JavaCompile compile ->
compile.options.debug = true
compile.options.compilerArgs = ['-Xlint:all']
}
Expand Down

0 comments on commit 4942f14

Please sign in to comment.