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 {
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()
}
}

View File

@ -1 +1,4 @@
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 {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}