| group 'io.flutter.plugins.androidalarmmanager' |
| version '1.0-SNAPSHOT' |
| def args = ["-Xlint:deprecation","-Xlint:unchecked","-Werror"] |
| |
| buildscript { |
| repositories { |
| google() |
| jcenter() |
| } |
| |
| dependencies { |
| classpath 'com.android.tools.build:gradle:3.3.0' |
| } |
| } |
| |
| rootProject.allprojects { |
| repositories { |
| google() |
| jcenter() |
| } |
| } |
| |
| project.getTasks().withType(JavaCompile){ |
| options.compilerArgs.addAll(args) |
| } |
| |
| apply plugin: 'com.android.library' |
| |
| android { |
| compileSdkVersion 28 |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_8 |
| targetCompatibility JavaVersion.VERSION_1_8 |
| } |
| defaultConfig { |
| minSdkVersion 16 |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| } |
| lintOptions { |
| disable 'InvalidPackage' |
| } |
| } |
| |
| dependencies { |
| implementation 'androidx.appcompat:appcompat:1.0.0' |
| api 'androidx.core:core:1.0.1' |
| } |