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()