Converted to Kotlin Multiplatform project
This commit is contained in:
parent
6f2687b98c
commit
4a38369cc0
|
@ -1,21 +1,20 @@
|
|||
plugins {
|
||||
kotlin("jvm") version "2.0.0"
|
||||
}
|
||||
|
||||
group = "net.codinux.banking.client"
|
||||
version = "1.0.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
val kotlinVersion: String by extra
|
||||
|
||||
dependencies {
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(kotlin("test"))
|
||||
}
|
||||
allprojects {
|
||||
group = "net.codinux.banking.client"
|
||||
version = "1.0.0-SNAPSHOT"
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
|
@ -1 +1,4 @@
|
|||
kotlin.code.style=official
|
||||
|
||||
|
||||
kotlinVersion=2.0.10
|
||||
|
|
|
@ -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 {
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue