Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions packages/camera/camera_android/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'io.flutter.plugins.camera'
version = '1.0-SNAPSHOT'
group = "io.flutter.plugins.camera"
version = "1.0-SNAPSHOT"
def args = ["-Xlint:deprecation","-Xlint:unchecked"]

buildscript {
Expand All @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath("com.android.tools.build:gradle:8.13.1")
}
}

Expand All @@ -27,21 +27,23 @@ project.getTasks().withType(JavaCompile){
apply plugin: 'com.android.library'

android {
buildFeatures {
buildFeatures {
buildConfig = true
}
namespace = "io.flutter.plugins.camera"
compileSdk = flutter.compileSdkVersion

defaultConfig {
minSdkVersion 24
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
minSdk = 24
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {

lint {
checkAllWarnings = true
warningsAsErrors = true
disable 'AndroidGradlePluginVersion', 'InvalidPackage', 'GradleDependency', 'NewerVersionAvailable'
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand Down
10 changes: 5 additions & 5 deletions packages/camera/camera_android_camerax/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'io.flutter.plugins.camerax'
version = '1.0'
group = "io.flutter.plugins.camerax"
version = "1.0"

buildscript {
ext.kotlin_version = '2.3.0'
Expand All @@ -9,8 +9,8 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath("com.android.tools.build:gradle:8.13.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
}

Expand Down Expand Up @@ -42,7 +42,7 @@ android {
defaultConfig {
// CameraX APIs require API 23 or later.
minSdk = 23
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

testOptions {
Expand Down
22 changes: 11 additions & 11 deletions packages/espresso/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'com.example.espresso'
version = '1.0'
group = "com.example.espresso"
version = "1.0"

buildscript {
repositories {
Expand All @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath("com.android.tools.build:gradle:8.13.1")
}
}

Expand All @@ -26,20 +26,20 @@ android {
compileSdk = flutter.compileSdkVersion

defaultConfig {
minSdkVersion 24
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
minSdk = 24
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

lintOptions {
lint {
checkAllWarnings = true
warningsAsErrors = true
disable 'AndroidGradlePluginVersion', 'InvalidPackage', 'GradleDependency', 'NewerVersionAvailable'
baseline file("lint-baseline.xml")
baseline = file("lint-baseline.xml")
}


Expand All @@ -57,10 +57,10 @@ android {
}

dependencies {
implementation 'com.google.guava:guava:33.5.0-android'
implementation 'com.squareup.okhttp3:okhttp:5.3.2'
implementation 'com.google.code.gson:gson:2.13.2'
androidTestImplementation 'org.hamcrest:hamcrest:3.0'
implementation("com.google.guava:guava:33.5.0-android")
implementation("com.squareup.okhttp3:okhttp:5.3.2")
implementation("com.google.code.gson:gson:2.13.2")
androidTestImplementation("org.hamcrest:hamcrest:3.0")

testImplementation("junit:junit:4.13.2")
testImplementation("com.google.truth:truth:1.4.5")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'dev.flutter.packages.file_selector_android'
version = '1.0'
group = "dev.flutter.packages.file_selector_android"
version = "1.0"

buildscript {
repositories {
Expand All @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath("com.android.tools.build:gradle:8.13.1")
}
}

Expand All @@ -31,7 +31,7 @@ android {
}

defaultConfig {
minSdkVersion 24
minSdk = 24
}

dependencies {
Expand All @@ -42,7 +42,7 @@ android {
testImplementation("org.robolectric:robolectric:4.16")
}

lintOptions {
lint {
checkAllWarnings = true
warningsAsErrors = true
disable 'AndroidGradlePluginVersion', 'InvalidPackage', 'GradleDependency', 'NewerVersionAvailable'
Expand Down
14 changes: 7 additions & 7 deletions packages/flutter_plugin_android_lifecycle/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'io.flutter.plugins.flutter_plugin_android_lifecycle'
version = '1.0'
group = "io.flutter.plugins.flutter_plugin_android_lifecycle"
version = "1.0"

buildscript {
repositories {
Expand All @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath("com.android.tools.build:gradle:8.13.1")
}
}

Expand All @@ -26,17 +26,17 @@ android {
compileSdk = flutter.compileSdkVersion

defaultConfig {
minSdkVersion 24
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'proguard.txt'
minSdk = 24
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("proguard.txt")
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

lintOptions {
lint {
checkAllWarnings = true
warningsAsErrors = true
disable 'AndroidGradlePluginVersion', 'InvalidPackage', 'GradleDependency', 'NewerVersionAvailable'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'io.flutter.plugins.googlemaps'
version = '1.0-SNAPSHOT'
group = "io.flutter.plugins.googlemaps"
version = "1.0-SNAPSHOT"

buildscript {
repositories {
Expand All @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath("com.android.tools.build:gradle:8.13.1")
}
}

Expand All @@ -26,10 +26,11 @@ android {
compileSdk = flutter.compileSdkVersion

defaultConfig {
minSdkVersion 24
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
minSdk = 24
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {

lint {
checkAllWarnings = true
warningsAsErrors = true
disable 'AndroidGradlePluginVersion', 'InvalidPackage', 'GradleDependency', 'NewerVersionAvailable'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'io.flutter.plugins.googlesignin'
version = '1.0-SNAPSHOT'
group = "io.flutter.plugins.googlesignin"
version = "1.0-SNAPSHOT"

buildscript {
ext.kotlin_version = '2.3.0'
Expand All @@ -9,8 +9,8 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath("com.android.tools.build:gradle:8.13.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
}

Expand All @@ -29,8 +29,8 @@ android {
compileSdk = flutter.compileSdkVersion

defaultConfig {
minSdkVersion 24
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
minSdk = 24
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
Expand All @@ -53,7 +53,6 @@ android {
baseline = file("lint-baseline.xml")
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'io.flutter.plugins.imagepicker'
version = '1.0-SNAPSHOT'
group = "io.flutter.plugins.imagepicker"
version = "1.0-SNAPSHOT"

buildscript {
repositories {
Expand All @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath("com.android.tools.build:gradle:8.13.1")
}
}

Expand All @@ -26,14 +26,16 @@ android {
compileSdk = flutter.compileSdkVersion

defaultConfig {
minSdkVersion 24
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
minSdk = 24
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {

lint {
checkAllWarnings = true
warningsAsErrors = true
disable 'AndroidGradlePluginVersion', 'InvalidPackage', 'GradleDependency', 'NewerVersionAvailable'
}

dependencies {
implementation("androidx.core:core:1.17.0")
implementation("androidx.annotation:annotation:1.9.1")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'io.flutter.plugins.inapppurchase'
version = '1.0-SNAPSHOT'
group = "io.flutter.plugins.inapppurchase"
version = "1.0-SNAPSHOT"

buildscript {
repositories {
Expand All @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath("com.android.tools.build:gradle:8.13.1")
}
}

Expand All @@ -32,19 +32,20 @@ android {

defaultConfig {
minSdk = 21
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {

lint {
checkAllWarnings = true
warningsAsErrors = true
disable 'AndroidGradlePluginVersion', 'InvalidPackage', 'GradleDependency', 'NewerVersionAvailable'
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}


testOptions {
unitTests.includeAndroidResources = true
unitTests.returnDefaultValues = true
Expand Down
10 changes: 5 additions & 5 deletions packages/interactive_media_ads/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'dev.flutter.packages.interactive_media_ads'
version = '1.0-SNAPSHOT'
group = "dev.flutter.packages.interactive_media_ads"
version = "1.0-SNAPSHOT"

buildscript {
ext.kotlin_version = '2.3.0'
Expand All @@ -9,8 +9,8 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath("com.android.tools.build:gradle:8.13.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
}

Expand Down Expand Up @@ -44,7 +44,7 @@ android {
}

defaultConfig {
minSdkVersion 24
minSdk = 24
}

dependencies {
Expand Down
Loading
Loading