mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
gradle: migrate to build-logic
This commit is contained in:
parent
4cef244d71
commit
3097eaf82f
26 changed files with 501 additions and 182 deletions
|
@ -1,25 +1,18 @@
|
|||
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.kotlin.multiplatform)
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
alias(libs.plugins.android.library)
|
||||
kotlin("multiplatform")
|
||||
kotlin("plugin.serialization")
|
||||
id("dev.msfjarvis.claw.kotlin-common")
|
||||
id("dev.msfjarvis.claw.android-library")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
android()
|
||||
jvm { compilations.all { kotlinOptions.jvmTarget = "11" } }
|
||||
jvm()
|
||||
sourceSets["commonMain"].apply {
|
||||
dependencies { implementation(libs.kotlinx.serialization.core) }
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk = 31
|
||||
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
||||
defaultConfig {
|
||||
minSdk = 23
|
||||
targetSdk = 31
|
||||
consumerProguardFiles("consumer-rules.pro")
|
||||
}
|
||||
}
|
||||
android { sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue