Small fixes and v0.2

This commit is contained in:
Andrew Golovashevich 2024-11-09 16:33:05 +03:00
parent 27f56033b1
commit 5d3a41cd4d
5 changed files with 9 additions and 5 deletions

View File

@ -16,7 +16,7 @@ buildscript {
} }
dependencies { dependencies {
classpath("ru.landgrafhomyak.kotlin:kotlin-mpp-gradle-build-helper:v0.1k2.0.20") classpath("ru.landgrafhomyak.kotlin:kotlin-mpp-gradle-build-helper:v0.2k2.0.20")
} }
} }
@ -54,7 +54,7 @@ buildscript {
} }
dependencies { dependencies {
classpath("ru.landgrafhomyak.kotlin:kotlin-mpp-gradle-build:v0.1k2.0.20") classpath("ru.landgrafhomyak.kotlin:kotlin-mpp-gradle-build:v0.2k2.0.20")
} }
} }
@ -82,7 +82,7 @@ This library officially isn't published, so this way wouldn't work
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.* import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.*
plugins { plugins {
id("ru.landgrafhomyak.kotlin.original-multiplatform-ext") version "v0.1k2.0.20" id("ru.landgrafhomyak.kotlin.original-multiplatform-ext") version "v0.2k2.0.20"
} }
repositories { repositories {

View File

@ -1,7 +1,9 @@
import java.util.Properties import java.util.Properties
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.defineXomrkGiteaMavenRepo import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.defineXomrkGiteaMavenRepo
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.forceSetAllMavenArtifactsId import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.forceSetAllMavenArtifactsId
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.optInContracts import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.optInContracts
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.setCompatibilityWithKotlin
buildscript { buildscript {
val versions = java.util.Properties() val versions = java.util.Properties()
@ -37,6 +39,7 @@ kotlin {
jvmToolchain(8) jvmToolchain(8)
jvm() jvm()
setCompatibilityWithKotlin(KotlinVersion.KOTLIN_1_8)
sourceSets { sourceSets {
jvmMain { jvmMain {

View File

@ -8,7 +8,7 @@ import org.gradle.api.publish.PublishingExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.plugin.SetupBuildScript.PluginIDs import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.plugin.SetupBuildScript.PluginIDs
open class XomrkDsl internal constructor(private val project: Project) { class XomrkDsl internal constructor(private val project: Project) {
@Suppress("FunctionName") @Suppress("FunctionName")
private fun <T : Any> _wrapExtension( private fun <T : Any> _wrapExtension(
@Suppress("SameParameterValue") pluginId: String, @Suppress("SameParameterValue") pluginId: String,

1
test/gradle.properties Normal file
View File

@ -0,0 +1 @@
kotlin.native.ignoreDisabledTargets=true

View File

@ -1,3 +1,3 @@
this=0.1 this=0.2
kotlin=2.0.20 kotlin=2.0.20
gradle=7.5.1 gradle=7.5.1