publish.gradle: Use non-deprecated API to prevent eager configuration of tasks
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
093139bc91
commit
2b31eac1af
@ -55,9 +55,9 @@ bintray {
|
|||||||
android.libraryVariants.all { variant ->
|
android.libraryVariants.all { variant ->
|
||||||
if (variant.name == 'release') {
|
if (variant.name == 'release') {
|
||||||
task javadoc(type: Javadoc) {
|
task javadoc(type: Javadoc) {
|
||||||
source = variant.javaCompiler.source
|
source = variant.javaCompileProvider.get().source
|
||||||
classpath = files((android.bootClasspath.join(File.pathSeparator)))
|
classpath = files((android.bootClasspath.join(File.pathSeparator)))
|
||||||
classpath += variant.javaCompiler.classpath
|
classpath += variant.javaCompileProvider.get().classpath
|
||||||
title = 'Embeddable WireGuard Tunnel for Android v$wireguardVersionName'
|
title = 'Embeddable WireGuard Tunnel for Android v$wireguardVersionName'
|
||||||
}
|
}
|
||||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||||
|
Loading…
Reference in New Issue
Block a user