From f9f021249a0aeb380c4d2dcb677722e541747a50 Mon Sep 17 00:00:00 2001 From: Fallen_Breath Date: Sat, 30 Nov 2024 00:28:18 +0800 Subject: [PATCH] setCoreVersion fix --- .../kotlin/com/replaymod/gradle/preprocess/PreprocessPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/replaymod/gradle/preprocess/PreprocessPlugin.kt b/src/main/kotlin/com/replaymod/gradle/preprocess/PreprocessPlugin.kt index 3f004a3..11117dc 100644 --- a/src/main/kotlin/com/replaymod/gradle/preprocess/PreprocessPlugin.kt +++ b/src/main/kotlin/com/replaymod/gradle/preprocess/PreprocessPlugin.kt @@ -214,7 +214,7 @@ class PreprocessPlugin : Plugin { from(project.file("src")) from(project.layout.buildDirectory.dir("preprocessed")) - into(project.layout.projectDirectory.dir("src")) + into(project.parent!!.layout.projectDirectory.dir("src")) project.the().all { val cName = if (name == "main") "" else name.uppercaseFirstChar()