Skip to content

Commit

Permalink
Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Wavesonics committed Feb 7, 2024
1 parent c20442a commit 77746cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[versions]
jvm = "17"
agp = "8.2.2"
kotlin = "1.9.21"
nexus-publish = "2.0.0-rc-1"
android-minSdk = "26"
android-compileSdk = "34"
compose = "1.6.0"
compose-plugin = "1.6.0-beta01"

murmurhash = "0.4.0"
cvsparser = "1.10.0"
Expand All @@ -18,7 +21,10 @@ cvsparser = { module = "org.apache.commons:commons-csv", version.ref = "cvsparse
junit4 = { module = "junit:junit", version.ref = "junit" }
jmh = { module = "org.openjdk.jmh:jmh-core-benchmarks", version.ref = "jmh" }
jmh-annprocess = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" }
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }

[plugins]
androidLibrary = { id = "com.android.library", version.ref = "agp" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "compose-plugin" }
8 changes: 6 additions & 2 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ plugins {

kotlin {
applyDefaultHierarchyTemplate()
jvm()
jvm {
compilations.all {
kotlinOptions.jvmTarget = libs.versions.jvm.get()
}
}
androidTarget {
publishLibraryVariants("release")
compilations.all {
kotlinOptions {
jvmTarget = "17"
jvmTarget = libs.versions.jvm.get()
}
}
}
Expand Down

0 comments on commit 77746cf

Please sign in to comment.