Skip to content

Commit b9521a5

Browse files
authored
Fix dokka and maven-publish (#20)
1 parent 10186b5 commit b9521a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ subprojects {
5050
noAndroidSdkLink.set(false)
5151

5252
// Add samples from :sample module
53-
samples.from(rootProject.file("sample/src/main/java/"))
53+
samples.from(rootProject.file("sample/shared/src/commonMain/kotlin/"))
5454

5555
// AndroidX + Compose docs
5656
externalDocumentationLink {
@@ -63,9 +63,9 @@ subprojects {
6363
}
6464

6565
sourceLink {
66-
localDirectory.set(project.file("src/main/java"))
66+
localDirectory.set(project.file("src/commonMain/kotlin"))
6767
// URL showing where the source code can be accessed through the web browser
68-
remoteUrl.set(new URL("https://github.com/fornewid/placeholder/blob/main/${project.name}/src/main/java"))
68+
remoteUrl.set(new URL("https://github.com/fornewid/placeholder/blob/main/${project.name}/src/commonMain/kotlin"))
6969
// Suffix which is used to append the line number to the URL. Use #L for GitHub
7070
remoteLineSuffix.set("#L")
7171
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
compose-plugin = "1.6.10"
44
compose = "1.6.7"
55

6-
dokka = "1.8.10"
6+
dokka = "1.9.20"
77

88
agp = "8.4.1"
99

@@ -24,7 +24,7 @@ truth = "1.1.3"
2424
robolectric = "4.9.2"
2525

2626
metalava = "0.3.5"
27-
vanniktechPublish = "0.25.2"
27+
vanniktechPublish = "0.28.0"
2828

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

0 commit comments

Comments
 (0)