File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
modules/bcv-gradle-plugin Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,8 @@ publishing {
129129val createBCVProperties by tasks.registering {
130130 val bcvVersion = libs.versions.kotlinx.bcv
131131 inputs.property(" bcvVersion" , bcvVersion)
132+ val kotlinVersion = libs.versions.kotlinGradle
133+ inputs.property(" kotlinVersion" , kotlinVersion)
132134
133135 val generatedSource = layout.buildDirectory.dir(" generated-src/main/kotlin/" )
134136 outputs.dir(generatedSource)
@@ -146,6 +148,7 @@ val createBCVProperties by tasks.registering {
146148 |
147149 |internal object BCVProperties {
148150 | const val bcvVersion: String = "${bcvVersion.get()} "
151+ | const val kotlinVersion: String = "${kotlinVersion.get()} "
149152 |}
150153 |
151154 """ .trimMargin()
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ constructor(
6565 outputApiDir.convention(layout.projectDirectory.dir(API_DIR ))
6666 projectName.convention(providers.provider { project.name })
6767 kotlinxBinaryCompatibilityValidatorVersion.convention(BCVProperties .bcvVersion)
68- kotlinCompilerEmbeddableVersion.convention(" 1.9.22 " )
68+ kotlinCompilerEmbeddableVersion.convention(BCVProperties .kotlinVersion )
6969
7070 // have to set conventions because otherwise .add("...") doesn't work
7171 ignoredMarkers.convention(emptyList())
You can’t perform that action at this time.
0 commit comments