2024-07-17 18:59:09 +00:00
|
|
|
// The Android Gradle Plugin builds the native code with the Android NDK.
|
|
|
|
|
2024-07-17 20:09:21 +00:00
|
|
|
group = "bio.kat.readability"
|
2024-07-17 18:59:09 +00:00
|
|
|
version = "1.0"
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// The Android Gradle Plugin knows how to build native code with the NDK.
|
|
|
|
classpath("com.android.tools.build:gradle:7.3.0")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: "com.android.library"
|
|
|
|
|
|
|
|
android {
|
|
|
|
if (project.android.hasProperty("namespace")) {
|
2024-07-17 20:09:21 +00:00
|
|
|
namespace = "bio.kat.readability"
|
2024-07-17 18:59:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Bumping the plugin compileSdk version requires all clients of this plugin
|
|
|
|
// to bump the version in their app.
|
|
|
|
compileSdk = 34
|
|
|
|
|
2024-07-17 20:09:21 +00:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
jniLibs.srcDirs = ["src/main/jniLibs"]
|
2024-07-17 18:59:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdk = 21
|
|
|
|
}
|
|
|
|
}
|