// 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 } }