Skip to content

Commit a5b414d

Browse files
authored
Merge pull request #608 from auth0/update-gradle
Update to gradle 6.9.2
2 parents 59e4475 + f29d70c commit a5b414d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

lib/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ java {
4444
compileJava {
4545
exclude 'module-info.java'
4646
// Required to be compatible with JDK 8+
47-
options.compilerArgs = ['--release', "8"]
47+
options.release = 8
4848
}
4949

5050
javadoc {
@@ -99,7 +99,8 @@ task compileModuleInfoJava(type: JavaCompile) {
9999
}
100100

101101
compileTestJava {
102-
options.compilerArgs = ['--release', "8", "-Xlint:deprecation"]
102+
options.release = 8
103+
options.compilerArgs = ["-Xlint:deprecation"]
103104
}
104105

105106
def testJava8 = tasks.register('testJava8', Test) {

0 commit comments

Comments
 (0)