diff --git a/lib/build.gradle b/lib/build.gradle index c121e9e6..1164fb5e 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -1,7 +1,6 @@ plugins { id 'java' id 'jacoco' - id 'com.jfrog.bintray' id 'com.auth0.gradle.oss-library.java' } @@ -30,7 +29,6 @@ oss { } } -def javaVersion = 8 java { toolchain { languageVersion = JavaLanguageVersion.of(11) @@ -39,24 +37,11 @@ java { compileJava { exclude 'module-info.java' - - options.compilerArgs = ['--release', "$javaVersion"] -} - -// Use latest JDK for javadoc generation -tasks.withType(Javadoc).configureEach { - javadocTool = javaToolchains.javadocToolFor { - languageVersion = JavaLanguageVersion.of(16) - } } javadoc { // Exclude internal implementation package from javadoc excludes = ['com/auth0/jwt/impl', 'module-info.java'] - // Specify Java version this project uses - // Otherwise would use version of javadoc toolchain by default which could - // cause compilation error mismatch between compileJava and javadoc creation - options.addStringOption('-release', "$javaVersion") } dependencies { diff --git a/settings.gradle b/settings.gradle index 7faf41ff..b614415b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -3,8 +3,7 @@ pluginManagement { gradlePluginPortal() } plugins { - id 'com.jfrog.bintray' version '1.8.5' - id 'com.auth0.gradle.oss-library.java' version '0.15.1' + id 'com.auth0.gradle.oss-library.java' version '0.16.0' } }