Skip to content

Commit 3a40031

Browse files
committed
update compile sdk to 34
update kotlin version to 1.9.0
1 parent d1d3b69 commit 3a40031

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

app/build.gradle

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ if (keystorePropertiesFile.exists()) {
88
}
99

1010
android {
11-
compileSdkVersion 33
11+
namespace "com.simplemobiletools.flashlight"
12+
compileSdk 34
1213

1314
defaultConfig {
1415
applicationId "com.simplemobiletools.flashlight"
15-
minSdkVersion 23
16-
targetSdkVersion 33
16+
minSdk 23
17+
targetSdk 34
1718
versionCode 64
1819
versionName "5.9.2"
1920
setProperty("archivesBaseName", "flashlight")
@@ -48,7 +49,16 @@ android {
4849
}
4950
}
5051

51-
flavorDimensions "variants"
52+
compileOptions {
53+
sourceCompatibility JavaVersion.VERSION_17
54+
targetCompatibility JavaVersion.VERSION_17
55+
}
56+
57+
kotlinOptions {
58+
jvmTarget = '17'
59+
}
60+
61+
flavorDimensions = ["variants"]
5262
productFlavors {
5363
core {}
5464
fdroid {}
@@ -66,7 +76,7 @@ android {
6676
}
6777

6878
dependencies {
69-
implementation 'com.github.SimpleMobileTools:Simple-Commons:fa61be64d8'
79+
implementation 'com.github.SimpleMobileTools:Simple-Commons:565200547d'
7080
implementation 'org.greenrobot:eventbus:3.3.1'
7181
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
7282
}

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.7.10'
4+
ext.kotlin_version = '1.9.0'
55

66
repositories {
77
google()
88
mavenCentral()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:7.3.1'
12+
classpath 'com.android.tools.build:gradle:8.1.0'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414

1515
// NOTE: Do not place your application dependencies here; they belong

gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
android.enableJetifier=true
2-
android.useAndroidX=true
2+
android.useAndroidX=true
3+
android.nonTransitiveRClass=false
4+
org.gradle.jvmargs=-Xmx4g

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip

0 commit comments

Comments
 (0)