Skip to content

Commit

Permalink
Updating the Java 19 and Kotlin to 1.9.24
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuppan committed Jul 18, 2024
1 parent 4aa9b62 commit 41e1ad4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions build-logic/convention/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ group = "com.naveenapps.expensemanager.buildlogic"
// Configure the build-logic plugins to target JDK 17
// This matches the JDK used to build the project, and is not related to what is running on device.
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_19
targetCompatibility = JavaVersion.VERSION_19
}

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
jvmTarget = JavaVersion.VERSION_19.toString()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.gradle.kotlin.dsl.provideDelegate
import org.gradle.kotlin.dsl.withType
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

val JAVA_VERSION = JavaVersion.VERSION_17
val JAVA_VERSION = JavaVersion.VERSION_19

fun CommonExtension<*, *, *, *, *, *>.configureJVM() {
this.compileOptions {
Expand Down
12 changes: 6 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ androidxAppCompat = "1.7.0"
androidxMaterial = "1.12.0"
androidxBrowser = "1.7.0"
androidxComposeBom = "2024.06.00"
androidxComposeCompiler = "1.5.13"
androidxComposeCompiler = "1.5.14"
androidxComposeRuntimeTracing = "1.0.0-beta01"
lottieCompose = "6.4.0"
material3 = "1.2.1"
Expand All @@ -20,7 +20,7 @@ androidxLifecycle = "2.8.3"
androidxMacroBenchmark = "1.2.4"
benchmark = "1.2.4"
androidxMetrics = "1.0.0-beta01"
androidxNavigation = "2.8.0-beta04"
androidxNavigation = "2.8.0-beta05"
androidxProfileinstaller = "1.3.1"
androidxSplashScreen = "1.0.1"
androidxStartup = "1.1.1"
Expand All @@ -33,7 +33,7 @@ androidxTracing = "1.2.0"
androidxUiAutomator = "2.3.0"
androidxWindowManager = "1.3.0"
androidxWork = "2.9.0"
firebaseBom = "33.1.1"
firebaseBom = "33.1.2"
firebaseCrashlyticsPlugin = "3.0.2"
firebasePerfPlugin = "1.4.2"
firebaseDistribution = "5.0.0"
Expand All @@ -46,12 +46,12 @@ hilt = "2.51"
hiltExt = "1.2.0"
jacoco = "0.8.8"
junit4 = "4.13.2"
kotlin = "1.9.23"
kotlin = "1.9.24"
kotlinxCoroutines = "1.8.0"
kotlinxDatetime = "0.4.1"
kotlinxSerializationJson = "1.6.3"
ksp = "1.9.23-1.0.20"
lint = "31.5.0"
ksp = "1.9.24-1.0.20"
lint = "31.5.1"
okhttp = "4.12.0"
retrofit = "2.9.0"
retrofitKotlinxSerializationJson = "1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions macrobenchmark/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_19
targetCompatibility = JavaVersion.VERSION_19
}

buildTypes {
Expand Down

0 comments on commit 41e1ad4

Please sign in to comment.