mirror of
https://github.com/mollyim/monero-wallet-sdk.git
synced 2025-10-10 20:28:30 -04: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 {
|
kotlin {
|
||||||
jvmToolchain(21)
|
jvmToolchain(17)
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -6,7 +6,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
jvmToolchain(21)
|
jvmToolchain(17)
|
||||||
}
|
}
|
||||||
|
|
||||||
val vendorDir = File(rootDir, "vendor")
|
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")}]
|
Java Home: [${System.getProperty("java.home")}]
|
||||||
https://developer.android.com/build/jdks#jdk-config-in-studio
|
https://developer.android.com/build/jdks#jdk-config-in-studio
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue