diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-03-14 10:44:52 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-03-14 10:44:52 +0530 |
commit | 2b31eac1aff43813a840b97a09e208cf951ac196 (patch) | |
tree | 18a0bbb782de5122122cd680a8ee85d42001dd21 /tunnel | |
parent | 093139bc912018114f286edb269f1f8bc137c790 (diff) |
publish.gradle: Use non-deprecated API to prevent eager configuration of tasks
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'tunnel')
-rw-r--r-- | tunnel/publish.gradle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tunnel/publish.gradle b/tunnel/publish.gradle index f8d086f8..63e7d0cf 100644 --- a/tunnel/publish.gradle +++ b/tunnel/publish.gradle @@ -55,9 +55,9 @@ bintray { android.libraryVariants.all { variant -> if (variant.name == 'release') { task javadoc(type: Javadoc) { - source = variant.javaCompiler.source + source = variant.javaCompileProvider.get().source classpath = files((android.bootClasspath.join(File.pathSeparator))) - classpath += variant.javaCompiler.classpath + classpath += variant.javaCompileProvider.get().classpath title = 'Embeddable WireGuard Tunnel for Android v$wireguardVersionName' } task javadocJar(type: Jar, dependsOn: javadoc) { |