mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 01:47:03 +05:30
Initial commit
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
commit
29c374859b
27 changed files with 823 additions and 0 deletions
46
common/build.gradle.kts
Normal file
46
common/build.gradle.kts
Normal file
|
@ -0,0 +1,46 @@
|
|||
import org.jetbrains.compose.compose
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform")
|
||||
id("org.jetbrains.compose") version "0.4.0"
|
||||
id("com.android.library")
|
||||
}
|
||||
|
||||
group = "dev.msfjarvis.claw"
|
||||
|
||||
version = "1.0"
|
||||
|
||||
repositories { google() }
|
||||
|
||||
kotlin {
|
||||
android()
|
||||
jvm("desktop") { compilations.all { kotlinOptions.jvmTarget = "11" } }
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
api(compose.runtime)
|
||||
api(compose.foundation)
|
||||
api(compose.material)
|
||||
}
|
||||
}
|
||||
val commonTest by getting { dependencies { implementation(kotlin("test")) } }
|
||||
val androidMain by getting {
|
||||
dependencies {
|
||||
api("androidx.appcompat:appcompat:1.3.0")
|
||||
api("androidx.core:core-ktx:1.5.0")
|
||||
}
|
||||
}
|
||||
val androidTest by getting { dependencies { implementation("junit:junit:4.13.2") } }
|
||||
val desktopMain by getting
|
||||
val desktopTest by getting
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion(30)
|
||||
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
||||
defaultConfig {
|
||||
minSdkVersion(23)
|
||||
targetSdkVersion(30)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue