File tree 5 files changed +13
-4
lines changed
packages/connectivity_plus/connectivity_plus 5 files changed +13
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.0.4
2
+
3
+ - Android: Add explicit compiler version to avoid warnings
4
+
1
5
## 1.0.3
2
6
3
7
- Android: migrate to mavenCentral
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ rootProject.allprojects {
18
18
google()
19
19
mavenCentral()
20
20
}
21
+ tasks. withType(JavaCompile ). configureEach {
22
+ javaCompiler = javaToolchains. compilerFor {
23
+ languageVersion = JavaLanguageVersion . of(8 )
24
+ }
25
+ }
21
26
}
22
27
23
28
project. getTasks(). withType(JavaCompile ){
@@ -36,4 +41,4 @@ android {
36
41
lintOptions {
37
42
disable ' InvalidPackage'
38
43
}
39
- }
44
+ }
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:3.5 .0'
8
+ classpath ' com.android.tools.build:gradle:4.2 .0'
9
9
}
10
10
}
11
11
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
3
zipStoreBase =GRADLE_USER_HOME
4
4
zipStorePath =wrapper/dists
5
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.10.2 -all.zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.7.1 -all.zip
Original file line number Diff line number Diff line change 1
1
name : connectivity_plus
2
2
description : Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.
3
- version : 1.0.3
3
+ version : 1.0.4
4
4
homepage : https://plus.fluttercommunity.dev/
5
5
repository : https://github.com/fluttercommunity/plus_plugins/tree/main/packages/
6
6
You can’t perform that action at this time.
0 commit comments