Skip to content

Commit 842761c

Browse files
authored
Upgraded gradle and AGP (#1279)
1 parent 412f25c commit 842761c

File tree

9 files changed

+13
-11
lines changed

9 files changed

+13
-11
lines changed

.github/workflows/permission_handler_android.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3434
- uses: actions/checkout@v3
35-
35+
3636
# Make sure the stable version of Flutter is available
3737
- uses: subosito/flutter-action@v2
3838
with:

permission_handler_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 12.0.5
2+
3+
* Upgrades Gradle and Android Gradle plugin.
4+
15
## 12.0.4
26

37
* Returns `granted` on permission `Permission.scheduleExactAlarm` for devices running lower than Android S (API 31), before this change the default return was `denied`.

permission_handler_android/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:4.1.0'
11+
classpath 'com.android.tools.build:gradle:8.0.0'
1212
}
1313
}
1414

@@ -26,7 +26,7 @@ android {
2626
if (project.android.hasProperty("namespace")) {
2727
namespace 'com.baseflow.permissionhandler'
2828
}
29-
compileSdkVersion 33
29+
compileSdk 33
3030

3131
compileOptions {
3232
sourceCompatibility JavaVersion.VERSION_1_8

permission_handler_android/android/gradle.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.

permission_handler_android/example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2626

2727
android {
2828
namespace 'com.baseflow.permissionhandler.example'
29-
compileSdkVersion 33
29+
compileSdk 33
3030

3131
defaultConfig {
3232
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3333
applicationId "com.baseflow.permissionhandler.example"
3434
minSdkVersion flutter.minSdkVersion
35-
targetSdkVersion 33
35+
targetSdkVersion flutter.targetSdkVersion
3636
versionCode flutterVersionCode.toInteger()
3737
versionName flutterVersionName
3838
}

permission_handler_android/example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.1.2'
8+
classpath 'com.android.tools.build:gradle:7.4.2'
99
}
1010
}
1111

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
org.gradle.jvmargs=-Xmx1536M
1+
org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33
android.enableJetifier=true

permission_handler_android/example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip

permission_handler_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: permission_handler_android
22
description: Permission plugin for Flutter. This plugin provides the Android API to request and check permissions.
33
homepage: https://github.com/baseflow/flutter-permission-handler
4-
version: 12.0.4
4+
version: 12.0.5
55

66
environment:
77
sdk: ">=2.15.0 <4.0.0"

0 commit comments

Comments
 (0)