Join Slack
Powered by
can you run ./gradlew uberJar to invoke the task?
# gradle
d
dwursteisen
04/10/2019, 6:46 PM
can you run ./gradlew uberJar to invoke the task?
🎉 1
metal
1
👍 1
n
Nikky
04/11/2019, 9:53 AM
not quite.. but youcan make a
JavaExec
task where you depend on uberJar
and
add uberJar to the classpath like so:
Copy code
classpath(ubeJar.archiveFile)
Nikky
04/11/2019, 9:55 AM
ShadowJar +
application
does that for you via
runShadowJar
2
Views
Open in Slack
Previous
Next