Disable plain jar

This commit is contained in:
SebClem 2022-05-15 16:49:55 +02:00
parent 35093a1bd1
commit 12230218df
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
2 changed files with 4 additions and 2 deletions

View File

@ -6,5 +6,5 @@ ARG BRANCH_NAME
ARG GITHUB_RUN_NUMBER ARG GITHUB_RUN_NUMBER
ADD build/libs/ClaptrapBot-*.jar /bot_src/bot.jar ADD build/libs/ClaptrapBot-*.jar /bot_src/bot.jar
RUN java -version RUN java -version
CMD java -jar bot.jar -t ${TOKEN} CMD java -jar bot.jar
LABEL org.opencontainers.image.source=https://github.com/Sebclem/ClaptrapBot/ LABEL org.opencontainers.image.source=https://github.com/Sebclem/ClaptrapBot/

View File

@ -21,7 +21,9 @@ repositories {
url 'https://m2.dv8tion.net/releases' url 'https://m2.dv8tion.net/releases'
} }
} }
jar{
enabled(false)
}
dependencies { dependencies {
implementation("org.springframework.boot:spring-boot-starter-web"){ implementation("org.springframework.boot:spring-boot-starter-web"){