compose-lobsters/common/build.gradle.kts
Harsh Shandilya 29c374859b
Initial commit
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-06-02 15:21:28 +05:30

46 lines
1.1 KiB
Kotlin

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