habitica-android/shared/build.gradle.kts

52 lines
1 KiB
Text
Raw Normal View History

plugins {
kotlin("multiplatform")
id("com.android.library")
id("kotlin-parcelize")
2022-08-30 11:08:27 +00:00
id("kotlin-kapt")
2023-02-13 16:29:12 +00:00
id("io.kotest.multiplatform") version "5.5.5"
}
allprojects {
repositories {
mavenCentral()
mavenLocal()
}
}
kotlin {
android()
2023-02-13 16:29:12 +00:00
ios()
sourceSets {
val commonMain by getting {
dependencies {
2022-11-15 15:06:43 +00:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
}
}
val commonTest by getting {
dependencies {
2023-02-13 16:29:12 +00:00
implementation(kotlin("test")) // This brings all the platform dependencies automatically
}
}
val androidMain by getting
val androidUnitTest by getting
2023-02-13 16:29:12 +00:00
val iosMain by getting
val iosTest by getting
}
}
android {
2022-10-12 15:50:02 +00:00
compileSdk = 33
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
defaultConfig {
minSdk = 21
}
2023-01-09 15:35:04 +00:00
buildTypes {
release {
}
}
2022-09-26 11:05:22 +00:00
namespace = "com.habitrpg.shared.habitica"
2023-02-13 16:34:54 +00:00
}