File tree 8 files changed +119
-343
lines changed
8 files changed +119
-343
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if (keystorePropertiesFile.exists()) {
32
32
}
33
33
34
34
android {
35
- compileSdkVersion 33
35
+ compileSdkVersion 34
36
36
namespace = ' is.mideind.embla'
37
37
38
38
compileOptions {
@@ -43,7 +43,7 @@ android {
43
43
defaultConfig {
44
44
applicationId " is.mideind.embla"
45
45
minSdkVersion 27
46
- targetSdkVersion 33
46
+ targetSdkVersion 34
47
47
versionCode flutterVersionCode. toInteger()
48
48
versionName flutterVersionName
49
49
}
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.6.21 '
2
+ ext. kotlin_version = ' 1.9.25 '
3
3
repositories {
4
4
google()
5
5
mavenCentral()
6
6
}
7
7
8
8
dependencies {
9
- // classpath 'com.android.tools.build:gradle:4.2 .2'
10
- classpath ' com.android.tools.build:gradle:7.4.2 '
9
+ // classpath 'com.android.tools.build:gradle:7.4 .2'
10
+ classpath ' com.android.tools.build:gradle:8.0.0 '
11
11
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
12
12
}
13
13
}
@@ -17,6 +17,18 @@ allprojects {
17
17
google()
18
18
mavenCentral()
19
19
}
20
+ // This code is where all the magic happens and fixes the error.
21
+ subprojects {
22
+ afterEvaluate { project ->
23
+ if (project. hasProperty(' android' )) {
24
+ project. android {
25
+ if (namespace == null ) {
26
+ namespace project. group
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
20
32
tasks. withType(JavaCompile ) {
21
33
// options.deprecation = true
22
34
// options.compilerArgs << '-Xlint:-options'
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ org.gradle.daemon=true
5
5
android.defaults.buildfeatures.buildconfig =true
6
6
android.nonTransitiveRClass =false
7
7
android.nonFinalResIds =false
8
+ kotlin.jvm.target.validation.mode = IGNORE
Original file line number Diff line number Diff line change 1
1
# Wed Sep 06 18:39:39 GMT 2023
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.5 -all.zip
4
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.0 -all.zip
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ class SessionRouteState extends State<SessionRoute> with SingleTickerProviderSta
100
100
text = introMsg ();
101
101
102
102
// Start observing app state (foreground, background)
103
- appStateSubscription = FGBGEvents .stream.listen ((event) async {
103
+ appStateSubscription = FGBGEvents .instance. stream.listen ((event) async {
104
104
if (event == FGBGType .foreground) {
105
105
dlog ("App went into foreground" );
106
106
inBackground = false ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dependencies:
17
17
shared_preferences : ' ^2.2.3'
18
18
geolocator : ^12.0.0
19
19
package_info_plus : ^8.0.1
20
- device_info_plus : ^10 .1.1
20
+ device_info_plus : 9 .1.2
21
21
url_launcher : ' ^6.1.14'
22
22
platform_device_id :
23
23
git :
@@ -46,7 +46,7 @@ dependencies:
46
46
embla_core : # '>=1.0.8'
47
47
path : ' ../embla_core'
48
48
# git:
49
- # url: git ://github.com/mideind/EmblaCoreFlutter.git
49
+ # url: https ://github.com/mideind/EmblaCoreFlutter.git
50
50
# ref: master
51
51
52
52
Original file line number Diff line number Diff line change 1
1
// These are the tests for the project's widgets.
2
2
3
3
import 'package:flutter/material.dart' ;
4
- import 'package:flutter_test/flutter_test.dart' ;
4
+ import 'package:flutter_test/flutter_test.dart' ; // ignore: depend_on_referenced_packages
5
5
6
6
// import 'package:embla/main.dart';
7
7
import 'package:embla/menu.dart' ;
You can’t perform that action at this time.
0 commit comments