Skip to content

Commit 8b11151

Browse files
committed
Build a shadow jar
1 parent c15b923 commit 8b11151

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

application/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ plugins {
99
id 'com.google.cloud.tools.jib' version '3.1.4'
1010
id "org.flywaydb.flyway" version "7.15.0"
1111
id 'nu.studer.jooq' version '6.0.1'
12+
id 'com.github.johnrengelman.shadow' version '7.0.0'
1213
}
1314

1415
repositories {
@@ -88,6 +89,16 @@ tasks.generateJooq {
8889
dependsOn("flywayMigrate")
8990
}
9091

92+
application {
93+
mainClass = "org.togetherjava.tjbot.Application"
94+
}
95+
96+
shadowJar {
97+
archiveBaseName.set('TJ-Bot')
98+
archiveClassifier.set('')
99+
archiveVersion.set('')
100+
}
101+
91102
var sqliteVersion = "3.36.0.3"
92103

93104
dependencies {

0 commit comments

Comments
 (0)