From 4361d6fc15468bec9161ac5b9a48c7e2bd703649 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 19 Aug 2024 11:39:03 +0200 Subject: [PATCH] Removed other unused settings --- build.gradle | 8 +-- fints4k/build.gradle | 10 +-- multiplatform-utils/build.gradle | 117 ------------------------------- 3 files changed, 3 insertions(+), 132 deletions(-) delete mode 100644 multiplatform-utils/build.gradle diff --git a/build.gradle b/build.gradle index 5e0ac764..8fc7d060 100644 --- a/build.gradle +++ b/build.gradle @@ -30,8 +30,6 @@ buildscript { dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20" - - classpath "com.android.tools.build:gradle:7.0.4" } } @@ -40,13 +38,9 @@ allprojects { repositories { mavenCentral() google() - // TODO: remove again as soon as kmp-web-client is released - maven { - url "https://oss.sonatype.org/content/repositories/snapshots/" - } } - group 'net.codinux.banking' + group "net.codinux.banking" version appVersionName } diff --git a/fints4k/build.gradle b/fints4k/build.gradle index 308b0407..64c1dd8c 100644 --- a/fints4k/build.gradle +++ b/fints4k/build.gradle @@ -65,9 +65,9 @@ kotlin { implementation("net.codinux.log:kmp-log:1.5.1") - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1" + implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1") - implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion" + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion") implementation "co.touchlab:stately-concurrency:1.2.0" @@ -96,9 +96,6 @@ kotlin { implementation "org.assertj:assertj-core:$assertJVersion" implementation "org.mockito:mockito-core:$mockitoVersion" - - implementation "org.apache.commons:commons-csv:1.8" - implementation "ch.qos.logback:logback-classic:$logbackVersion" } @@ -116,10 +113,7 @@ kotlin { nativeMain { dependencies { - implementation("com.github.ajalt.clikt:clikt:3.5.4") - // only needed for writing files to output - implementation "com.soywiz.korlibs.korio:korio:3.4.0" } } diff --git a/multiplatform-utils/build.gradle b/multiplatform-utils/build.gradle deleted file mode 100644 index 059c6b7b..00000000 --- a/multiplatform-utils/build.gradle +++ /dev/null @@ -1,117 +0,0 @@ -plugins { - id "org.jetbrains.kotlin.multiplatform" - id "maven-publish" -} - - -group = "net.codinux.utils" - - -kotlin { - // Enable the default target hierarchy: - targetHierarchy.default() - - jvm { - jvmToolchain(8) - withJava() // not allowed if android { } is present - - testRuns["test"].executionTask.configure { - useJUnitPlatform() - - testLogging { // This is for logging and can be removed. - events("passed", "skipped", "failed") - } - } - } - - js(IR) { -// binaries.executable() - - browser { - testTask { - useKarma { - useChromeHeadless() - useFirefoxHeadless() - } - } - } - - nodejs() - } - - - linuxX64() - mingwX64() - - - ios { - binaries { - framework { - baseName = "MultiplatformUtils" - } - } - } - iosSimulatorArm64() - macosX64() - macosArm64() - watchos() - watchosSimulatorArm64() - tvos() - tvosSimulatorArm64() - - - sourceSets { - commonMain { - dependencies { - api "org.jetbrains.kotlinx:kotlinx-datetime:$kotlinxDateTimeVersion" - } - } - - commonTest { - dependencies { - implementation kotlin("test") - } - } - - - jvmMain { - dependencies { - - } - } - - jvmTest { - dependencies { - implementation "org.slf4j:slf4j-simple:$slf4jVersion" - } - - } - - - jsMain { - dependencies { - implementation npm("@js-joda/timezone", "2.3.0") - } - } - - - linuxX64Main { - dependencies { - - } - } - - mingwX64Main { - dependencies { - - } - } - - appleMain { - dependencies { - - } - } - - } -} \ No newline at end of file