Skip to content

Commit

Permalink
Fix dokka and maven-publish (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
fornewid authored Jun 4, 2024
1 parent 10186b5 commit b9521a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ subprojects {
noAndroidSdkLink.set(false)

// Add samples from :sample module
samples.from(rootProject.file("sample/src/main/java/"))
samples.from(rootProject.file("sample/shared/src/commonMain/kotlin/"))

// AndroidX + Compose docs
externalDocumentationLink {
Expand All @@ -63,9 +63,9 @@ subprojects {
}

sourceLink {
localDirectory.set(project.file("src/main/java"))
localDirectory.set(project.file("src/commonMain/kotlin"))
// URL showing where the source code can be accessed through the web browser
remoteUrl.set(new URL("https://github.com/fornewid/placeholder/blob/main/${project.name}/src/main/java"))
remoteUrl.set(new URL("https://github.com/fornewid/placeholder/blob/main/${project.name}/src/commonMain/kotlin"))
// Suffix which is used to append the line number to the URL. Use #L for GitHub
remoteLineSuffix.set("#L")
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
compose-plugin = "1.6.10"
compose = "1.6.7"

dokka = "1.8.10"
dokka = "1.9.20"

agp = "8.4.1"

Expand All @@ -24,7 +24,7 @@ truth = "1.1.3"
robolectric = "4.9.2"

metalava = "0.3.5"
vanniktechPublish = "0.25.2"
vanniktechPublish = "0.28.0"

[libraries]
compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose" }
Expand Down

0 comments on commit b9521a5

Please sign in to comment.