diff options
Diffstat (limited to 'installMinecraft.init.gradle.kts')
-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) |