moviequotebot/build.gradle
Louis Vallat e2f9ca8b8d Switched to a logger system instead of System.out
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-25 14:38:03 +01:00

35 lines
590 B
Groovy

plugins {
id 'java'
id 'application'
}
group 'xyz.vallat.louis'
version '0.1-SNAPSHOT'
apply plugin : 'java'
ext {
javaMainClass = 'xyz.vallat.louis.MovieQuoteBot'
}
application {
mainClassName = javaMainClass
}
jar {
manifest {
attributes 'Main-Class': javaMainClass
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'ch.qos.logback:logback-classic:1.2.3'
}