File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import com.android.build.api.dsl.LibraryExtension
2+ import com.android.build.gradle.internal.tasks.factory.dependsOn
23import org.jetbrains.kotlin.gradle.dsl.JvmTarget
34
45// Module :library
@@ -108,6 +109,7 @@ dependencies {
108109 /* Composable Preview */
109110 debugImplementation(libs.bundles.androidx.compose.tooling)
110111
112+ /* Dokka Android Documentation Plugin */
111113 dokkaPlugin(libs.dokka.android.documentation.plugin)
112114}
113115
@@ -126,7 +128,7 @@ dokka {
126128 )
127129
128130 sourceLink {
129- localDirectory.set(file(" src/main/java" ))
131+ localDirectory.set(file(" ${projectDir.absolutePath} / src/main/java" ))
130132 remoteUrl(" https://github.com/syslogic/androidx-colorpicker/tree/master/compose/src/main/java" )
131133 remoteLineSuffix.set(" #L" )
132134 }
@@ -180,8 +182,8 @@ val dokkaCleanHtml by tasks.registering(Delete::class) {
180182 description = " It removes the documentation generated by Dokka."
181183}
182184
183- // tasks.dokkaGeneratePublicationJavadoc.dependsOn(dokkaCleanJavadoc)
184- // tasks.dokkaGeneratePublicationHtml.dependsOn(dokkaCleanHtml)
185+ tasks.dokkaGeneratePublicationJavadoc.dependsOn(dokkaCleanJavadoc)
186+ tasks.dokkaGeneratePublicationHtml.dependsOn(dokkaCleanHtml)
185187
186188val dokkaClean by tasks.registering {
187189 group = " dokka"
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =wrapper/dists
5- distributionUrl =https\://services.gradle.org/distributions/gradle-9.3.1 -bin.zip
5+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.4.0 -bin.zip
You can’t perform that action at this time.
0 commit comments