AstrologyLibrary/shared/build.gradle.kts
emil d8125f64e5 i-1: First draft of a shared KMP library (#2)
- [x] Exposes a `Greeting` class.
- [x] Exposes a `Greeting` class test.

Co-authored-by: Emil Simeonov <emil@theliberatededge.org>
Reviewed-on: emil/AstrologyLibrary#2
2025-02-13 14:31:22 +00:00

47 lines
922 B
Plaintext

plugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidLibrary)
}
kotlin {
androidTarget {
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "shared"
isStatic = true
}
}
sourceSets {
commonMain.dependencies {
//put your multiplatform dependencies here
}
commonTest.dependencies {
implementation(libs.kotlin.test)
}
}
}
android {
namespace = "com.tle.astrologylibrary"
compileSdk = 35
defaultConfig {
minSdk = 24
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}