diff options
author | Jonas Herzig <jonas@spark-squared.com> | 2023-05-26 16:15:06 +0200 |
---|---|---|
committer | Jonas Herzig <jonas@spark-squared.com> | 2023-05-26 16:17:29 +0200 |
commit | 3a12dc22d6ec3924067c7b32582cb6a1ed113344 (patch) | |
tree | fb573032a4ad77ccbf56d0566b29bcb2bcd08dd3 /src/test/kotlin/com | |
parent | 6c6edca8f9baba53bb464d9f836a544b2f4a19cb (diff) | |
download | Remap-3a12dc22d6ec3924067c7b32582cb6a1ed113344.tar.gz Remap-3a12dc22d6ec3924067c7b32582cb6a1ed113344.tar.bz2 Remap-3a12dc22d6ec3924067c7b32582cb6a1ed113344.zip |
Allow JDK_HOME to be set explicitly, required for Kotlin 1.8+
Diffstat (limited to 'src/test/kotlin/com')
-rw-r--r-- | src/test/kotlin/com/replaymod/gradle/remap/util/TestData.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/kotlin/com/replaymod/gradle/remap/util/TestData.kt b/src/test/kotlin/com/replaymod/gradle/remap/util/TestData.kt index d1ed905..06f8788 100644 --- a/src/test/kotlin/com/replaymod/gradle/remap/util/TestData.kt +++ b/src/test/kotlin/com/replaymod/gradle/remap/util/TestData.kt @@ -3,6 +3,7 @@ package com.replaymod.gradle.remap.util import com.replaymod.gradle.remap.Transformer import com.replaymod.gradle.remap.legacy.LegacyMappingSetModelFactory import org.cadixdev.lorenz.MappingSet +import java.io.File import java.net.URL import java.nio.file.Paths import kotlin.io.path.absolutePathString @@ -37,6 +38,7 @@ object TestData { } } } + jdkHome = File(System.getProperty("java.home")) classpath = arrayOf( findClasspathEntry("org.spongepowered.asm.mixin.Mixin"), findClasspathEntry("a.pkg.A"), |