| // The Android Gradle Plugin builds the native code with the Android NDK. | |
| group = 'com.example.notification_plugin' | |
| version = '1.0' | |
| rootProject.allprojects { | |
| repositories { | |
| google() | |
| mavenCentral() | |
| } | |
| } | |
| apply plugin: 'com.android.library' | |
| android { | |
| namespace = 'com.example.notification_plugin' | |
| compileSdk = flutter.compileSdkVersion | |
| ndkVersion = flutter.ndkVersion | |
| compileOptions { | |
| sourceCompatibility = JavaVersion.VERSION_11 | |
| targetCompatibility = JavaVersion.VERSION_11 | |
| } | |
| defaultConfig { | |
| minSdkVersion = 16 | |
| } | |
| } |