File tree Expand file tree Collapse file tree 5 files changed +18
-18
lines changed
Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,19 @@ group 'com.pravera.flutter_foreground_task'
22version ' 1.0-SNAPSHOT'
33
44buildscript {
5- ext. kotlin_version = ' 1.7 .10'
5+ ext. kotlin_version = ' 1.9 .10'
66 repositories {
77 google()
88 mavenCentral()
99 }
1010
1111 dependencies {
12- classpath ' com.android.tools.build:gradle:7.4.2 '
12+ classpath ' com.android.tools.build:gradle:8.6.0 '
1313 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1414 }
1515}
1616
17- allprojects {
17+ rootProject . allprojects {
1818 repositories {
1919 google()
2020 mavenCentral()
@@ -33,12 +33,12 @@ android {
3333 compileSdk 35
3434
3535 compileOptions {
36- sourceCompatibility JavaVersion . VERSION_1_8
37- targetCompatibility JavaVersion . VERSION_1_8
36+ sourceCompatibility JavaVersion . VERSION_11
37+ targetCompatibility JavaVersion . VERSION_11
3838 }
3939
4040 kotlinOptions {
41- jvmTarget = ' 1.8 '
41+ jvmTarget = JavaVersion . VERSION_11
4242 }
4343
4444 sourceSets {
@@ -51,9 +51,9 @@ android {
5151 }
5252
5353 dependencies {
54- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3 '
55- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 '
56- implementation ' androidx.core:core-ktx:1.13 .0'
54+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0 '
55+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0 '
56+ implementation ' androidx.core:core-ktx:1.15 .0'
5757
5858 testImplementation ' org.jetbrains.kotlin:kotlin-test'
5959 testImplementation ' org.mockito:mockito-core:5.0.0'
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =wrapper/dists
5- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6.3 -all.zip
5+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -all.zip
Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ if (flutterVersionName == null) {
2525android {
2626 namespace " com.pravera.flutter_foreground_task_example"
2727
28- compileSdk 34
28+ compileSdk 35
2929
3030 compileOptions {
31- sourceCompatibility JavaVersion . VERSION_1_8
32- targetCompatibility JavaVersion . VERSION_1_8
31+ sourceCompatibility JavaVersion . VERSION_11
32+ targetCompatibility JavaVersion . VERSION_11
3333 }
3434
3535 kotlinOptions {
36- jvmTarget = ' 1.8 '
36+ jvmTarget = JavaVersion . VERSION_11
3737 }
3838
3939 sourceSets {
@@ -44,7 +44,7 @@ android {
4444 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4545 applicationId " com.pravera.flutter_foreground_task_example"
4646 minSdkVersion 21
47- targetSdkVersion 34
47+ targetSdkVersion 35
4848 versionCode flutterVersionCode. toInteger()
4949 versionName flutterVersionName
5050 }
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6.3 -all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -all.zip
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ pluginManagement {
1919
2020plugins {
2121 id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
22- id " com.android.application" version " 7.3 .0" apply false
23- id " org.jetbrains.kotlin.android" version " 1.7 .10" apply false
22+ id " com.android.application" version " 8.6 .0" apply false
23+ id " org.jetbrains.kotlin.android" version " 1.9 .10" apply false
2424}
2525
2626include " :app"
You can’t perform that action at this time.
0 commit comments