blob: e4cdec819ec915dbfff01db9ae79a65883fedc67 [file] [log] [blame]
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -07001group 'io.flutter.plugins.quickactions'
2version '1.0-SNAPSHOT'
3
4buildscript {
5 repositories {
Mikkel Nygaard Ravne47f8ad2017-12-20 15:47:20 +01006 google()
Jenn Magderebfd37c2021-05-26 16:49:04 -07007 mavenCentral()
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -07008 }
9
10 dependencies {
dependabot[bot]0403bdb2022-07-27 15:24:07 +000011 classpath 'com.android.tools.build:gradle:7.2.1'
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -070012 }
13}
14
Mikkel Nygaard Ravn26bc42f2017-08-08 09:50:05 +020015rootProject.allprojects {
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -070016 repositories {
Mikkel Nygaard Ravne47f8ad2017-12-20 15:47:20 +010017 google()
Jenn Magderebfd37c2021-05-26 16:49:04 -070018 mavenCentral()
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -070019 }
20}
21
22apply plugin: 'com.android.library'
23
24android {
stuartmorganbb65f912021-11-22 19:05:37 -050025 compileSdkVersion 31
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -070026
27 defaultConfig {
Mikkel Nygaard Ravnf2210c52018-01-09 16:21:49 +010028 minSdkVersion 16
Michael Klimushyn59e84d82019-01-24 13:59:22 -080029 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -070030 }
31 lintOptions {
stuartmorganb1758432022-10-11 09:41:35 -040032 // TODO(stuartmorgan): Enable when gradle is updated.
33 // disable 'AndroidGradlePluginVersion'
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -070034 disable 'InvalidPackage'
stuartmorganaf2896b2021-08-18 06:51:10 -070035 disable 'GradleDependency'
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -070036 }
Maurice Parrish7d49fd42021-07-24 16:06:34 -070037
Maurice Parrish954041d2021-08-16 16:27:05 -070038 dependencies {
dependabot[bot]1f45e9c2022-06-22 19:07:56 -040039 testImplementation 'junit:junit:4.13.2'
dependabot[bot]5e4c2862022-08-15 19:17:14 +000040 testImplementation 'org.mockito:mockito-core:4.7.0'
Maurice Parrish954041d2021-08-16 16:27:05 -070041 }
42
43 compileOptions {
44 sourceCompatibility JavaVersion.VERSION_1_8
45 targetCompatibility JavaVersion.VERSION_1_8
46 }
Maurice Parrish7d49fd42021-07-24 16:06:34 -070047
48 testOptions {
49 unitTests.includeAndroidResources = true
50 unitTests.returnDefaultValues = true
51 unitTests.all {
52 testLogging {
53 events "passed", "skipped", "failed", "standardOut", "standardError"
54 outputs.upToDateWhen {false}
55 showStandardStreams = true
56 }
57 }
58 }
Mehmet Fidanboyludd0b2112017-06-12 10:05:17 -070059}