aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-08-26 12:59:12 +0200
committernea <nea@nea.moe>2023-08-26 12:59:26 +0200
commit3bf02a0899db86919f4315dc3892fa770847769a (patch)
tree1537bfcf6341ed8d8ec6f77b614f62151529c746 /build.gradle.kts
parentbb090fda8b947c3f37e721b0b043d430765e8200 (diff)
downloadforge1.8.9template-3bf02a0899db86919f4315dc3892fa770847769a.tar.gz
forge1.8.9template-3bf02a0899db86919f4315dc3892fa770847769a.tar.bz2
forge1.8.9template-3bf02a0899db86919f4315dc3892fa770847769a.zip
Use proper resources dir
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index a4acf05..95ec687 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -42,7 +42,7 @@ loom {
}
sourceSets.main {
- output.resourcesDir = file("$buildDir/classes/java/main")
+ output.setResourcesDir(sourceSets.main.flatMap { it.java.classesDirectory })
}
// Dependencies: