| group 'io.flutter.plugins.flutter_plugin_android_lifecycle' |
| version '1.0' |
| |
| buildscript { |
| repositories { |
| google() |
| mavenCentral() |
| } |
| |
| dependencies { |
| classpath 'com.android.tools.build:gradle:7.2.1' |
| } |
| } |
| |
| rootProject.allprojects { |
| repositories { |
| google() |
| mavenCentral() |
| } |
| } |
| |
| apply plugin: 'com.android.library' |
| |
| android { |
| compileSdkVersion 31 |
| |
| defaultConfig { |
| minSdkVersion 16 |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| consumerProguardFiles 'proguard.txt' |
| } |
| lintOptions { |
| disable 'InvalidPackage' |
| disable 'GradleDependency' |
| } |
| |
| dependencies { |
| implementation "androidx.annotation:annotation:1.1.0" |
| } |
| |
| |
| testOptions { |
| unitTests.includeAndroidResources = true |
| unitTests.returnDefaultValues = true |
| unitTests.all { |
| testLogging { |
| events "passed", "skipped", "failed", "standardOut", "standardError" |
| outputs.upToDateWhen {false} |
| showStandardStreams = true |
| } |
| } |
| } |
| } |
| |
| dependencies { |
| testImplementation 'junit:junit:4.13.2' |
| testImplementation 'org.mockito:mockito-core:4.7.0' |
| } |
| |