-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #256 from vivid-money/update-core-lib-plugin
Update core lib plugin
- Loading branch information
Showing
32 changed files
with
36 additions
and
63 deletions.
There are no files selected for viewing
45 changes: 0 additions & 45 deletions
45
build-logic/src/main/kotlin/elmslie.kotlin-jvm-lib.gradle.kts
This file was deleted.
Oops, something went wrong.
14 changes: 7 additions & 7 deletions
14
build-logic/src/main/kotlin/elmslie.kotlin-multiplatform-lib.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
@file:Suppress("UnstableApiUsage") | ||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget | ||
|
||
plugins { | ||
kotlin("multiplatform") | ||
id("com.android.library") | ||
id("elmslie.detekt") | ||
} | ||
|
||
kotlin { | ||
applyDefaultHierarchyTemplate() | ||
|
||
androidTarget { | ||
jvm { | ||
compilations.all { | ||
kotlinOptions { | ||
jvmTarget = JvmTarget.toString() | ||
compilerOptions.configure { | ||
jvmTarget.set(JvmTarget.JVM_11) | ||
} | ||
} | ||
} | ||
|
||
iosX64() | ||
iosArm64() | ||
} | ||
iosSimulatorArm64() | ||
iosX64() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
plugins { | ||
alias(libs.plugins.androidApplication) apply false | ||
alias(libs.plugins.kotlinJvm) apply false | ||
alias(libs.plugins.kotlinMultiplatform) apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
plugins { | ||
id("elmslie.kotlin-jvm-lib") | ||
id("elmslie.tests-convention") | ||
id("elmslie.kotlin-multiplatform-lib") | ||
} | ||
|
||
dependencies { | ||
implementation(libs.kotlinx.coroutinesCore) | ||
testImplementation(libs.kotlinx.coroutinesTest) | ||
} | ||
kotlin { | ||
sourceSets { | ||
val commonMain by getting { | ||
dependencies { | ||
implementation(libs.kotlinx.coroutinesCore) | ||
} | ||
} | ||
val commonTest by getting { | ||
dependencies { | ||
implementation(libs.kotlinx.coroutinesTest) | ||
implementation(libs.kotlin.test) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters