mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-06-21 00:40:16 +00:00
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
|
|
// Android library module wrapping the timer library. The native .so files are
|
||
|
|
// produced by ./build-libs.sh into src/main/jniLibs/<abi>/ and packaged
|
||
|
|
// automatically by the Android Gradle plugin.
|
||
|
|
plugins {
|
||
|
|
id("com.android.library")
|
||
|
|
id("org.jetbrains.kotlin.android")
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace = "org.logos.mytimer"
|
||
|
|
compileSdk = 34
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
minSdk = 21
|
||
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||
|
|
// Limit to the ABIs build-libs.sh produces. Add more rows there + here
|
||
|
|
// (armeabi-v7a, x86) if you need them.
|
||
|
|
ndk {
|
||
|
|
abiFilters += listOf("arm64-v8a", "x86_64")
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
sourceSets["main"].kotlin.srcDir("src/main/kotlin")
|
||
|
|
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
||
|
|
targetCompatibility = JavaVersion.VERSION_17
|
||
|
|
}
|
||
|
|
kotlinOptions {
|
||
|
|
jvmTarget = "17"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.5")
|
||
|
|
androidTestImplementation("androidx.test:runner:1.5.2")
|
||
|
|
}
|