Enable publishing sources and javadocs for bdk-android.
This resolves bitcoindevkit#32. Using new API from AGP 7.1.0 to generate and publish Android sources and javadocs. https://developer.android.com/studio/releases/gradle-plugin#publish-javadoc-jar https://developer.android.com/studio/releases/gradle-plugin#publish-sources-jar
This commit is contained in:
parent
bb9d0869ac
commit
aea8d703e1
@ -23,6 +23,13 @@ android {
|
|||||||
proguardFiles(file("proguard-android-optimize.txt"), file("proguard-rules.pro"))
|
proguardFiles(file("proguard-android-optimize.txt"), file("proguard-rules.pro"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
singleVariant("release") {
|
||||||
|
withSourcesJar()
|
||||||
|
withJavadocJar()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user