40 lines
875 B
Kotlin
40 lines
875 B
Kotlin
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
alias(libs.plugins.android.library)
|
|
}
|
|
|
|
android {
|
|
namespace = "de.rfc1437.ironstorage.platform"
|
|
compileSdk =
|
|
libs.versions.compileSdk
|
|
.get()
|
|
.toInt()
|
|
ndkVersion = libs.versions.ndk.get()
|
|
defaultConfig {
|
|
minSdk =
|
|
libs.versions.minSdk
|
|
.get()
|
|
.toInt()
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
defaultConfig { consumerProguardFiles("consumer-rules.pro") }
|
|
lint {
|
|
abortOnError = true
|
|
warningsAsErrors = true
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(25)
|
|
compilerOptions { jvmTarget.set(JvmTarget.JVM_17) }
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core"))
|
|
testImplementation(libs.junit)
|
|
}
|