File tree Expand file tree Collapse file tree 7 files changed +15
-7
lines changed
google_api_availability_android
google_api_availability/example/android Expand file tree Collapse file tree 7 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ apply plugin: 'com.android.application'
25
25
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
26
26
27
27
android {
28
+ namespace ' com.baseflow.googleapiavailabilityexample'
28
29
compileSdkVersion flutter. compileSdkVersion
29
30
30
31
compileOptions {
Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- xmlns : tools =" http://schemas.android.com/tools"
3
- package =" com.baseflow.googleapiavailabilityexample" >
4
-
2
+ xmlns : tools =" http://schemas.android.com/tools" >
5
3
<uses-permission android : name =" android.permission.INTERNET" />
6
4
7
5
<application
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
}
6
6
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:4.1 .0'
8
+ classpath ' com.android.tools.build:gradle:7.3 .0'
9
9
}
10
10
}
11
11
@@ -24,6 +24,6 @@ subprojects {
24
24
project. evaluationDependsOn(' :app' )
25
25
}
26
26
27
- task clean ( type : Delete ) {
27
+ tasks . register( " clean " , Delete ) {
28
28
delete rootProject. buildDir
29
29
}
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-6 .5-all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7 .5-all.zip
Original file line number Diff line number Diff line change
1
+ ## 1.0.1
2
+
3
+ * Adds support for the namespace property to support Android Gradle Plugin (AGP) 8.
4
+
1
5
## 1.0.0+1
2
6
3
7
* Declares ` dartPluginClass ` in pubspec declaration.
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ rootProject.allprojects {
22
22
apply plugin : ' com.android.library'
23
23
24
24
android {
25
+ // Conditional for compatibility with AGP <4.2.
26
+ if (project. android. hasProperty(" namespace" )) {
27
+ namespace ' com.baseflow.googleapiavailability'
28
+ }
29
+
25
30
compileSdkVersion 31
26
31
27
32
compileOptions {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: An Android implementation for the google_api_availability plugin.
3
3
repository : https://github.com/baseflow/flutter-google-api-availability/tree/main/google_api_availability_android
4
4
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
5
5
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6
- version : 1.0.0+ 1
6
+ version : 1.0.1
7
7
8
8
flutter :
9
9
plugin :
You can’t perform that action at this time.
0 commit comments