readability-dart/android/build.gradle
Sphericalkat 55430b7d61
feat(android): add native libraries
Signed-off-by: Sphericalkat <me@kat.bio>
2024-07-18 01:39:21 +05:30

51 lines
1.0 KiB
Groovy

// The Android Gradle Plugin builds the native code with the Android NDK.
group = "bio.kat.readability"
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")) {
namespace = "bio.kat.readability"
}
// Bumping the plugin compileSdk version requires all clients of this plugin
// to bump the version in their app.
compileSdk = 34
sourceSets {
main {
jniLibs.srcDirs = ["src/main/jniLibs"]
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
defaultConfig {
minSdk = 21
}
}