From 2b31eac1aff43813a840b97a09e208cf951ac196 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 14 Mar 2020 10:44:52 +0530 Subject: [PATCH] publish.gradle: Use non-deprecated API to prevent eager configuration of tasks Signed-off-by: Harsh Shandilya --- tunnel/publish.gradle | 4 ++-- 1 file 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) {