You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

49 lines
1016 B

plugins {
kotlin("multiplatform")
id("com.android.library")
}
kotlin {
android()
ios()
iosSimulatorArm64()
jvm("desktop") {
compilations.all {
kotlinOptions.jvmTarget = "11"
}
}
js(IR) {
moduleName = project.name
browser {
commonWebpackConfig {
outputFileName = "$moduleName.js"
}
}
binaries.executable()
}
sourceSets {
val commonMain by getting {
dependencies {
implementation(libs.ballast.core)
implementation(libs.ballast.navigation)
}
}
}
}
android {
namespace = "com.adrianwitaszak.ballastsharedui.${project.name}"
compileSdk = 33
defaultConfig {
minSdk = 24
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(11))
}