Commit 989c8e8 1 parent 35f4292 commit 989c8e8 Copy full SHA for 989c8e8
File tree 8 files changed +28
-35
lines changed
8 files changed +28
-35
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,12 @@ jobs:
17
17
- ubuntu-latest
18
18
- macos-latest
19
19
steps :
20
- - uses : actions/checkout@v1
21
- - uses : actions/setup-java@v1
20
+ - uses : actions/checkout@v4
21
+ - uses : actions/setup-java@v4
22
22
with :
23
- java-version : ' 12.x'
24
- - uses : subosito/flutter-action@v1
23
+ distribution : ' temurin'
24
+ java-version : ' 17'
25
+ - uses : subosito/flutter-action@v2
25
26
with :
26
27
channel : ' stable'
27
28
- run : dart --version
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ group 'net.wolverinebeach.flutter_timezone'
2
2
version ' 1.0-SNAPSHOT'
3
3
4
4
buildscript {
5
- ext. kotlin_version = ' 1.6.21 '
5
+ ext. kotlin_version = ' 1.7.10 '
6
6
repositories {
7
7
google()
8
8
mavenCentral()
9
9
}
10
10
11
11
dependencies {
12
- classpath ' com.android.tools.build:gradle:4.2.2 '
12
+ classpath ' com.android.tools.build:gradle:7.3.0 '
13
13
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
14
14
}
15
15
}
@@ -26,30 +26,28 @@ apply plugin: 'kotlin-android'
26
26
27
27
android {
28
28
namespace ' net.wolverinebeach.flutter_timezone'
29
- compileSdkVersion 34
29
+ compileSdkVersion 35
30
+
31
+ compileOptions {
32
+ sourceCompatibility = JavaVersion . VERSION_17
33
+ targetCompatibility = JavaVersion . VERSION_17
34
+ }
35
+
36
+ kotlinOptions {
37
+ jvmTarget = JavaVersion . VERSION_17
38
+ }
30
39
31
40
sourceSets {
32
41
main. java. srcDirs + = ' src/main/kotlin'
33
42
}
34
43
defaultConfig {
35
- targetSdkVersion 34
36
- minSdkVersion 16
44
+ minSdkVersion 21
37
45
testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
38
46
}
39
47
lintOptions {
40
48
disable ' InvalidPackage'
41
49
}
42
50
kotlinOptions {
43
- jvmTarget = JavaVersion . VERSION_1_8
51
+ jvmTarget = JavaVersion . VERSION_17
44
52
}
45
53
}
46
-
47
- dependencies {
48
- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
49
-
50
- }
51
-
52
- java {
53
- sourceCompatibility = JavaVersion . VERSION_1_8
54
- targetCompatibility = JavaVersion . VERSION_1_8
55
- }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ if (flutterVersionName == null) {
24
24
25
25
android {
26
26
namespace " net.wolverinebeach.flutter_timezone_example"
27
- compileSdk flutter . compileSdkVersion
27
+ compileSdk 35
28
28
ndkVersion flutter. ndkVersion
29
29
30
30
compileOptions {
31
- sourceCompatibility JavaVersion . VERSION_1_8
32
- targetCompatibility JavaVersion . VERSION_1_8
31
+ sourceCompatibility JavaVersion . VERSION_17
32
+ targetCompatibility JavaVersion . VERSION_17
33
33
}
34
34
35
35
kotlinOptions {
36
- jvmTarget = ' 1.8 '
36
+ jvmTarget = JavaVersion . VERSION_17
37
37
}
38
38
39
39
sourceSets {
@@ -46,7 +46,7 @@ android {
46
46
// You can update the following values to match your application needs.
47
47
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
48
48
minSdkVersion flutter. minSdkVersion
49
- targetSdkVersion flutter . targetSdkVersion
49
+ targetSdkVersion 35
50
50
versionCode flutterVersionCode. toInteger()
51
51
versionName flutterVersionName
52
52
}
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-7.6.3-all .zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1-bin .zip
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pluginManagement {
19
19
20
20
plugins {
21
21
id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
22
- id " com.android.application" version " 7.3 .0" apply false
22
+ id " com.android.application" version " 8.1 .0" apply false
23
23
id " org.jetbrains.kotlin.android" version " 1.7.10" apply false
24
24
}
25
25
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: "Demonstrates how to use the flutter_timezone plugin."
5
5
publish_to : ' none' # Remove this line if you wish to publish to pub.dev
6
6
7
7
environment :
8
- sdk : ' >=3.3 .0 <4.0.0'
8
+ sdk : ' >=3.4 .0 <4.0.0'
9
9
10
10
# Dependencies specify other packages that your package needs in order to work.
11
11
# To automatically upgrade your package dependencies to the latest versions
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version: 3.0.1
4
4
homepage : https://github.com/tjarvstrand/flutter_timezone
5
5
6
6
environment :
7
- sdk : ' >=2.12 .0 <4.0.0'
7
+ sdk : ' >=3.4 .0 <4.0.0'
8
8
flutter : " >=3.22.0"
9
9
10
10
dependencies :
You can’t perform that action at this time.
0 commit comments