mirror of
https://github.com/mollyim/monero-wallet-sdk.git
synced 2025-05-13 05:30:43 +01:00
build: downgrade JDK to 17
This commit is contained in:
parent
c15ba3fb22
commit
dcc3552daa
3 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ plugins {
|
|||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
jvmToolchain(17)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -6,7 +6,7 @@ plugins {
|
|||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
jvmToolchain(17)
|
||||
}
|
||||
|
||||
val vendorDir = File(rootDir, "vendor")
|
||||
|
|
|
@ -26,9 +26,9 @@ dependencyResolutionManagement {
|
|||
}
|
||||
}
|
||||
|
||||
check(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_21)) {
|
||||
check(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
|
||||
"""
|
||||
This project requires JDK 21+ but it is currently using JDK ${JavaVersion.current()}.
|
||||
This project requires JDK 17+ but it is currently using JDK ${JavaVersion.current()}.
|
||||
Java Home: [${System.getProperty("java.home")}]
|
||||
https://developer.android.com/build/jdks#jdk-config-in-studio
|
||||
""".trimIndent()
|
||||
|
|
Loading…
Reference in a new issue