Fix of plugin dependencies

This commit is contained in:
Andrew Golovashevich 2024-11-09 16:55:47 +03:00
parent 5d3a41cd4d
commit abfd205cf6
2 changed files with 13 additions and 3 deletions

View File

@ -21,7 +21,7 @@ buildscript {
} }
plugins { plugins {
kotlin("multiplatform") version "2.0.20" // version of kotlin must be same as in this library kotlin("multiplatform") version "2.0.20" // version of kotlin must be the same as in this library
} }
repositories { repositories {
@ -71,6 +71,11 @@ xomrk {
kotlin { kotlin {
// same as with original kotlin plugin // same as with original kotlin plugin
} }
// lazily enables `maven-publish` if not yet
publishing {
// same as with original kotlin plugin
}
} }
``` ```
@ -94,6 +99,11 @@ xomrk {
kotlin { kotlin {
// same as with original kotlin plugin // same as with original kotlin plugin
} }
// lazily enables `maven-publish` if not yet
publishing {
// same as with original kotlin plugin
}
} }
``` ```

View File

@ -45,8 +45,8 @@ kotlin {
jvmMain { jvmMain {
dependencies { dependencies {
compileOnly("dev.gradleplugins:gradle-api:${versions.getProperty("gradle")}") compileOnly("dev.gradleplugins:gradle-api:${versions.getProperty("gradle")}")
implementation("${group}:kotlin-mpp-gradle-build-helper:${targetKotlinVersion}") api("${group}:kotlin-mpp-gradle-build-helper:${version}")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:${targetKotlinVersion}") api("org.jetbrains.kotlin:kotlin-gradle-plugin:${targetKotlinVersion}")
} }
} }
} }