aboutsummaryrefslogtreecommitdiff
path: root/src/kotlin190/kotlin/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/kotlin190/kotlin/com')
-rw-r--r--src/kotlin190/kotlin/com/replaymod/gradle/remap/kotlin190.kt8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/kotlin190/kotlin/com/replaymod/gradle/remap/kotlin190.kt b/src/kotlin190/kotlin/com/replaymod/gradle/remap/kotlin190.kt
index 0d05a7f..fecaa66 100644
--- a/src/kotlin190/kotlin/com/replaymod/gradle/remap/kotlin190.kt
+++ b/src/kotlin190/kotlin/com/replaymod/gradle/remap/kotlin190.kt
@@ -1,11 +1,5 @@
package com.replaymod.gradle.remap
import org.jetbrains.kotlin.cli.common.config.KotlinSourceRoot
-import java.nio.file.Path
-fun createSourceRoot190(
- tempDir: Path,
- isCommon: Boolean
-): KotlinSourceRoot {
- return KotlinSourceRoot(tempDir.toString(), isCommon, null)
-}
+fun kotlinSourceRoot190(path: String, isCommon: Boolean) = KotlinSourceRoot(path, isCommon, null)