diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2b4ccbd..d3672da 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -74,23 +74,3 @@ sqldelight { } } } - -// nixpacks looks in build/libs -//tasks.register("copyJarToRoot") { -// from("./build/libs") -// into("../build/libs") -// include("*.jar") -// dependsOn(":app:build") -//} -// -//tasks.build { -// finalizedBy("copyJarToRoot") -//} -// -//tasks.build { -// finalizedBy("shadowJar") -//} -// -//tasks.jar { -// finalizedBy("copyJarToRoot") -//} diff --git a/nixpacks.toml b/nixpacks.toml index c401bec..168f570 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,7 +1,7 @@ providers = ["java"] [phases.build] -cmds = ["chmod +x gradlew", "./gradlew clean build shadowJar -x check -x test"] +cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"] [start] -cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar" \ No newline at end of file +cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"