Skip to content

Commit 9f4195f

Browse files
authored
Merge pull request #154 from TheOneWithTheBraid/braid/update-gradle-configuration
chore: update Gradle configuration
2 parents 645238e + 5c6dd52 commit 9f4195f

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

unifiedpush_android/android/build.gradle

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ group 'org.unifiedpush.flutter.connector'
22
version '1.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.7.20'
5+
ext.kotlin_version = '2.0.10'
66
repositories {
77
google()
88
mavenCentral()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:8.2.0'
12+
classpath 'com.android.tools.build:gradle:8.5.1'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
}
1515
}
@@ -30,14 +30,20 @@ rootProject.allprojects {
3030
apply plugin: 'com.android.library'
3131
apply plugin: 'kotlin-android'
3232

33-
34-
kotlin {
35-
jvmToolchain(8)
36-
}
37-
3833
android {
3934
compileSdk 34
4035

36+
compileOptions{
37+
sourceCompatibility JavaVersion.VERSION_1_8
38+
targetCompatibility JavaVersion.VERSION_1_8
39+
}
40+
41+
kotlinOptions {
42+
jvmTarget = '1.8'
43+
// languageVersion provides source compatibility with the specified version of Kotlin
44+
languageVersion = '1.7'
45+
}
46+
4147
sourceSets {
4248
main.java.srcDirs += 'src/main/kotlin'
4349
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Wed Dec 27 11:09:44 CET 2023
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
56
zipStoreBase=GRADLE_USER_HOME
67
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)