| group 'io.flutter.plugins.sharedpreferences' |
| classpath 'com.android.tools.build:gradle:7.2.2' |
| rootProject.allprojects { |
| gradle.projectsEvaluated { |
| tasks.withType(JavaCompile) { |
| options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" |
| apply plugin: 'com.android.library' |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| disable 'AndroidGradlePluginVersion' |
| disable 'GradleDependency' |
| baseline file("lint-baseline.xml") |
| testImplementation 'junit:junit:4.13.2' |
| testImplementation 'org.mockito:mockito-inline:4.7.0' |
| unitTests.includeAndroidResources = true |
| unitTests.returnDefaultValues = true |
| events "passed", "skipped", "failed", "standardOut", "standardError" |
| outputs.upToDateWhen {false} |
| showStandardStreams = true |