presenceirb/app/build.gradle
Louis Vallat 3db8134153 Added the link command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-25 13:30:33 +01:00

47 lines
919 B
Groovy

plugins {
id 'java'
id 'application'
}
repositories {
jcenter()
mavenCentral()
}
apply plugin : 'java'
ext {
javaMainClass = 'xyz.vallat.louis.App'
}
application {
getMainClass().set(javaMainClass)
}
application {
// Define the main class for the application.
mainClass = javaMainClass
}
jar {
manifest {
attributes 'Main-Class': javaMainClass
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
}
dependencies {
testImplementation 'junit:junit:4.13'
implementation 'com.discord4j:discord4j-core:3.1.1'
implementation 'ch.qos.logback:logback-classic:1.2.3'
implementation 'org.postgresql:postgresql:42.2.18.jre7'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'net.sf.biweekly:biweekly:0.6.5'
}