Converted to Kotlin Multiplatform project

This commit is contained in:
dankito 2024-08-14 20:58:35 +02:00
parent 6f2687b98c
commit 4a38369cc0
3 changed files with 37 additions and 17 deletions

View File

@ -1,21 +1,20 @@
plugins { buildscript {
kotlin("jvm") version "2.0.0" repositories {
mavenCentral()
}
val kotlinVersion: String by extra
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
} }
group = "net.codinux.banking.client" allprojects {
version = "1.0.0-SNAPSHOT" group = "net.codinux.banking.client"
version = "1.0.0-SNAPSHOT"
repositories { repositories {
mavenCentral() mavenCentral()
} }
dependencies {
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
} }

View File

@ -1 +1,4 @@
kotlin.code.style=official kotlin.code.style=official
kotlinVersion=2.0.10

View File

@ -1,3 +1,21 @@
pluginManagement {
val kotlinVersion: String by settings
repositories {
mavenCentral()
gradlePluginPortal()
}
plugins {
kotlin("multiplatform") version kotlinVersion
kotlin("jvm") version kotlinVersion
// kotlin("plugin.serialization") version kotlinVersion
kotlin("plugin.allopen") version kotlinVersion
kotlin("plugin.noarg") version kotlinVersion
}
}
plugins { plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
} }