File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 2727 - name : Set up Gradle caching
2828 uses : gradle/actions/setup-gradle@v5
2929 - name : Build Dokka HTML (qs-kotlin)
30- run : ./gradlew :qs-kotlin:dokkaHtml --stacktrace
30+ run : ./gradlew :qs-kotlin:dokkaGenerateHtml --stacktrace
3131 - name : Deploy to GitHub Pages
3232 uses : peaceiris/actions-gh-pages@v4
3333 with :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ subprojects {
1919 }
2020}
2121
22- tasks.register(" docs" ) { dependsOn(" dokkaHtmlMultiModule " ) }
22+ tasks.register(" docs" ) { dependsOn(" dokkaGenerate " ) }
2323
2424nexusPublishing {
2525 repositories {
Original file line number Diff line number Diff line change 11[versions ]
22kotlin = " 2.2.21"
33agp = " 8.13.0"
4- dokka = " 1.9.20 "
4+ dokka = " 2.1.0 "
55nexusPublish = " 2.0.0"
66kotest = " 6.0.4"
77junit = " 6.0.0"
Original file line number Diff line number Diff line change @@ -83,13 +83,15 @@ val prepareDokkaReadme by
8383 }
8484 }
8585
86- tasks.dokkaHtml {
87- dependsOn(prepareDokkaReadme )
88- dokkaSourceSets.configureEach {
86+ dokka {
87+ moduleName.set( " qs-kotlin " )
88+ dokkaSourceSets.named( " main " ) {
8989 includes.from(layout.buildDirectory.file(" dokka-includes/Module.md" ))
9090 }
9191}
9292
93+ tasks.named(" dokkaGeneratePublicationHtml" ) { dependsOn(prepareDokkaReadme) }
94+
9395publishing {
9496 publications {
9597 create<MavenPublication >(" mavenJava" ) {
You can’t perform that action at this time.
0 commit comments