File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ dependencies {
2727
2828## Documentation
2929
30+ - [ Javadoc] ( https://libxposed.github.io/api/ ) — API reference
3031- [ Guide] ( https://github.com/LSPosed/LSPosed/wiki/Develop-Xposed-Modules-Using-Modern-Xposed-API ) — Getting started with the modern Xposed API
31- - [ Javadoc] ( api/src/main/java/io/github/libxposed/api/package-info.java ) — Package-level API overview
3232
3333## Related Projects
3434
Original file line number Diff line number Diff line change 11plugins {
22 alias(libs.plugins.agp.lib)
3+ alias(libs.plugins.dokka)
4+ alias(libs.plugins.dokka.javadoc)
35 `maven- publish`
46 signing
57}
@@ -27,14 +29,18 @@ android {
2729 publishing {
2830 singleVariant(" release" ) {
2931 withSourcesJar()
30- withJavadocJar()
3132 }
3233 }
3334}
3435
3536dependencies {
3637 compileOnly(libs.annotation)
37- compileOnly(libs.kotlin.stdlib)
38+ }
39+
40+ val dokkaJavadocJar by tasks.registering(Jar ::class ) {
41+ archiveClassifier.set(" javadoc" )
42+ dependsOn(" dokkaGeneratePublicationJavadoc" )
43+ from(layout.buildDirectory.dir(" dokka/javadoc" ))
3844}
3945
4046publishing {
@@ -43,6 +49,7 @@ publishing {
4349 artifactId = " api"
4450 group = " io.github.libxposed"
4551 version = " 101.0.0"
52+ artifact(dokkaJavadocJar)
4653 pom {
4754 name.set(" api" )
4855 description.set(" Modern Xposed API" )
Original file line number Diff line number Diff line change 11[versions ]
22annotation = " 1.9.1"
3- kotlin = " 2.3.10 "
4- agp = " 9.0.1 "
3+ agp = " 9.1.0 "
4+ dokka = " 2.1.0 "
55
66[plugins ]
77agp-lib = { id = " com.android.library" , version.ref = " agp" }
8+ dokka = { id = " org.jetbrains.dokka" , version.ref = " dokka" }
9+ dokka-javadoc = { id = " org.jetbrains.dokka-javadoc" , version.ref = " dokka" }
810
911[libraries ]
1012annotation = { module = " androidx.annotation:annotation" , version.ref = " annotation" }
11- kotlin-stdlib = { module = " org.jetbrains.kotlin:kotlin-stdlib" , version.ref = " kotlin" }
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-9.3.1 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.4.0 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments