presenceirb/app/build.gradle
Louis Vallat 187c46e1f2 Now when user unsubscribe, their timers are also cancelled
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-26 18:35:26 +01:00

46 lines
877 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 {
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'
}