Move to JDK_X_Y variables

This commit is contained in:
Nikolay Krasko
2022-09-05 15:04:44 +02:00
committed by Space
parent 2df9203336
commit 1630386712
24 changed files with 71 additions and 52 deletions
@@ -127,7 +127,7 @@ abstract class AbstractKaptToolIntegrationTest {
}
private fun getJdk8Home(): File {
val homePath = System.getenv()["JDK_18"] ?: error("Can't find JDK 1.8 home")
val homePath = System.getenv()["JDK_1_8"] ?: System.getenv()["JDK_18"] ?: error("Can't find JDK 1.8 home, please define JDK_1_8 variable")
return File(homePath)
}
}