blob: 0e0d3f5ceac4a51726998dfe4b457b68c6a257a9 [file] [edit]
// The Android Gradle Plugin builds the native code with the Android NDK.
group = 'com.github.dart_lang.jni_flutter'
version = '1.0'
buildscript {
repositories {
google()
mavenCentral()
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.library'
android {
if (project.android.hasProperty("namespace")) {
namespace = 'com.github.dart_lang.jni_flutter'
}
compileSdk = 35
defaultConfig {
minSdk = 21
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled = false
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}