summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-03-14 10:44:52 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-03-14 10:44:52 +0530
commitc4bfd090680853f481ff71f909718643a79413d0 (patch)
tree18a0bbb782de5122122cd680a8ee85d42001dd21
parent132dacefe450d8c93e72524418284746b04f0ff0 (diff)
publish.gradle: Use non-deprecated API to prevent eager configuration of tasks
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--tunnel/publish.gradle4
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) {