diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-13 17:56:59 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-02-13 17:56:59 +0100 |
commit | f2a0dd9d647bc57bab91eaac0cdf515a84ebb1be (patch) | |
tree | fa9f171d58bea763488d079b2094a5de0e183629 | |
parent | db56cfdb57c481de8c833a1a53b7e9f9cdae82c0 (diff) | |
download | gradle-init-scripts-master.tar.gz gradle-init-scripts-master.tar.bz2 gradle-init-scripts-master.zip |
-rw-r--r-- | installMinecraft.init.gradle.kts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installMinecraft.init.gradle.kts b/installMinecraft.init.gradle.kts index a61df85..dd052e4 100644 --- a/installMinecraft.init.gradle.kts +++ b/installMinecraft.init.gradle.kts @@ -27,7 +27,7 @@ allprojects { val toInstall = listOf("remapJar", "shadowJar", "jar").mapNotNull { tasks.findByName(it) }.filterIsInstance<org.gradle.jvm.tasks.Jar>().firstOrNull() - val targetDirectory = File(project.findProperty("minecraft.modfolder")!!) + val targetDirectory = File(project.findProperty("minecraft.modfolder") as String) if (toInstall != null) { tasks.create("installToMinecraft") { dependsOn(toInstall) |