File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -93,14 +93,17 @@ plugins.withId("org.jetbrains.kotlin.jvm") {
9393plugins.withId(" org.jetbrains.kotlin.multiplatform" ) {
9494 /* Maven Central requires javadocs, lets generate some stubs */
9595 val generateJavadocStubs = tasks.register(" generateJavadocStubs" ) {
96+ val projectName = provider { project.name }
97+ inputs.property(" projectName" , projectName)
98+
9699 val outputDirectory = project.layout.buildDirectory.dir(" javadocStubs" )
97100 outputs.dir(outputDirectory)
98101 doLast {
99102 outputDirectory.get().asFile.apply {
100103 mkdirs()
101104 resolve(resolve(" index.md" )).writeText(
102105 """
103- # Module ${project.name }
106+ # Module ${projectName.get() }
104107 Check: https://github.com/jetbrains/compose-hot-reload for further documentation
105108 """ .trimIndent()
106109 )
You can’t perform that action at this time.
0 commit comments