File tree Expand file tree Collapse file tree 20 files changed +48
-23
lines changed Expand file tree Collapse file tree 20 files changed +48
-23
lines changed Original file line number Diff line number Diff line change 18
18
steps :
19
19
- name : " Checkout repository"
20
20
uses : actions/checkout@v2
21
+ - name : " Set up Java"
22
+ uses : actions/setup-java@v2
23
+ with :
24
+ distribution : " temurin"
25
+ java-version : 17
21
26
- name : " Install Flutter"
22
27
run : ./.github/workflows/scripts/install-flutter.sh stable
23
28
- name : " Install Tools"
Original file line number Diff line number Diff line change 18
18
steps :
19
19
- name : " Checkout repository"
20
20
uses : actions/checkout@v2
21
+ - name : " Set up Java"
22
+ uses : actions/setup-java@v2
23
+ with :
24
+ distribution : " temurin"
25
+ java-version : 17
21
26
- name : " Install Flutter"
22
27
run : ./.github/workflows/scripts/install-flutter.sh stable
23
28
- name : " Install Tools"
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ unlinked_spec.ds
64
64
** /android /local.properties
65
65
** /android /** /GeneratedPluginRegistrant.java
66
66
** /android /key.properties
67
- ** /android /gradle
68
67
* .jks
69
68
70
69
# iOS/XCode related
@@ -107,4 +106,4 @@ coverage/
107
106
! /dev /ci /** /Gemfile.lock
108
107
109
108
# FVM
110
- .fvm
109
+ .fvm
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ buildscript {
8
8
}
9
9
10
10
dependencies {
11
- classpath ' com.android.tools.build:gradle:4.1 .0'
11
+ classpath ' com.android.tools.build:gradle:8.2 .0'
12
12
}
13
13
}
14
14
@@ -22,6 +22,8 @@ rootProject.allprojects {
22
22
apply plugin : ' com.android.library'
23
23
24
24
android {
25
+ namespace ' com.alternadom.wifiiot'
26
+
25
27
compileSdkVersion 30
26
28
27
29
defaultConfig {
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ org.gradle.jvmargs=-Xmx1536M
2
2
android.useAndroidX =true
3
3
android.enableJetifier =true
4
4
android.enableR8 =true
5
+ android.enableR8.fullMode =false
Original file line number Diff line number Diff line change 1
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.alternadom.wifiiot" >
1
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
3
2
<uses-feature android : name =" android.hardware.wifi" />
4
3
<uses-permission android : name =" android.permission.INTERNET" />
5
4
<uses-permission android : name =" android.permission.ACCESS_WIFI_STATE" />
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ apply plugin: 'com.android.application'
15
15
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
16
16
17
17
android {
18
+ namespace ' com.alternadom.wifiiotexample'
19
+
18
20
compileSdkVersion flutter. compileSdkVersion
19
21
20
22
compileOptions {
Original file line number Diff line number Diff line change 1
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.alternadom.wifiiotexample" >
1
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
3
2
4
3
<!-- The INTERNET permission is required for development. Specifically,
5
4
flutter needs it to communicate with the running application
19
18
android : hardwareAccelerated =" true"
20
19
android : launchMode =" singleTop"
21
20
android : theme =" @style/LaunchTheme"
22
- android : windowSoftInputMode =" adjustResize" >
21
+ android : windowSoftInputMode =" adjustResize"
22
+ android : exported =" true" >
23
23
<!-- Specify that the launch screen should continue being displayed -->
24
24
<!-- until Flutter renders its first frame. -->
25
25
<meta-data
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:8.2 .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 1
1
org.gradle.jvmargs =-Xmx1536M
2
- android.enableR8 =true
3
2
android.useAndroidX =true
4
- android.enableJetifier =true
3
+ android.enableJetifier =true
4
+ android.enableR8 =true
5
+ android.enableR8.fullMode =false
Original file line number Diff line number Diff line change
1
+ distributionBase =GRADLE_USER_HOME
2
+ distributionPath =wrapper/dists
3
+ zipStoreBase =GRADLE_USER_HOME
4
+ zipStorePath =wrapper/dists
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2-all.zip
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ group 'dev.flutternetwork.wifi.wifi_scan'
2
2
version ' 1.0-SNAPSHOT'
3
3
4
4
buildscript {
5
- ext. kotlin_version = ' 1.6.10 '
5
+ ext. kotlin_version = ' 1.8.21 '
6
6
repositories {
7
7
google()
8
8
mavenCentral()
9
9
}
10
10
11
11
dependencies {
12
- classpath ' com.android.tools.build:gradle:4.1 .0'
12
+ classpath ' com.android.tools.build:gradle:8.2 .0'
13
13
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
14
14
}
15
15
}
@@ -25,6 +25,8 @@ apply plugin: 'com.android.library'
25
25
apply plugin : ' kotlin-android'
26
26
27
27
android {
28
+ namespace ' dev.flutternetwork.wifi.wifi_scan'
29
+
28
30
compileSdkVersion 30
29
31
30
32
compileOptions {
Original file line number Diff line number Diff line change 1
1
org.gradle.jvmargs =-Xmx1536M
2
2
android.useAndroidX =true
3
3
android.enableJetifier =true
4
+ android.enableR8 =true
5
+ android.enableR8.fullMode =false
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-6.7 -all.zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2 -all.zip
Original file line number Diff line number Diff line change 1
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" dev.flutternetwork.wifi.wifi_scan" >
1
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
3
2
<!-- required for: `WifiManager.getScanResult` -->
4
3
<uses-permission android : name =" android.permission.ACCESS_WIFI_STATE" />
5
4
<!-- required for: `WifiManager.startScan` -->
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ apply plugin: 'kotlin-android'
26
26
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27
27
28
28
android {
29
+ namespace ' dev.flutternetwork.wifi.wifi_scan_example'
30
+
29
31
compileSdkVersion flutter. compileSdkVersion
30
32
31
33
compileOptions {
Original file line number Diff line number Diff line change 1
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" dev.flutternetwork.wifi.wifi_scan_example" >
1
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
3
2
<application
4
3
android : label =" wifi_scan_example"
5
4
android : icon =" @mipmap/ic_launcher" >
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.6.10 '
2
+ ext. kotlin_version = ' 1.8.21 '
3
3
repositories {
4
4
google()
5
5
mavenCentral()
6
6
}
7
7
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:4.1 .0'
9
+ classpath ' com.android.tools.build:gradle:8.2 .0'
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
11
}
12
12
}
@@ -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 1
1
org.gradle.jvmargs =-Xmx1536M
2
2
android.useAndroidX =true
3
3
android.enableJetifier =true
4
+ android.enableR8 =true
5
+ android.enableR8.fullMode =false
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.7 -all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2 -all.zip
You can’t perform that action at this time.
0 commit comments