Skip to content

Commit 70bb4b3

Browse files
committed
🔥 dont use applicaiton plugin for module project
1 parent 9d2dbd8 commit 70bb4b3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test-apps/hello-world-modules/build.gradle.kts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
application
2+
java
33
id("com.google.cloud.tools.jib") version "3.4.0"
44
}
55

@@ -15,10 +15,6 @@ java {
1515
}
1616
}
1717

18-
19-
//application.mainClass.set("io.github.pixee.testapp.Main")
20-
//application.mainModule.set("io.github.pixee.testapp")
21-
2218
jib.container {
2319
entrypoint = listOf("java", "--module-path", "@/app/jib-classpath-file", "-m", "io.github.pixee.testapp/io.github.pixee.testapp.Main")
2420
}

0 commit comments

Comments
 (0)