2020-11-25 12:13:48 +01:00
|
|
|
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 {
|
2021-04-16 15:54:31 +02:00
|
|
|
implementation 'com.discord4j:discord4j-core:3.1.5'
|
2020-11-25 12:13:48 +01:00
|
|
|
implementation 'ch.qos.logback:logback-classic:1.2.3'
|
|
|
|
implementation 'org.postgresql:postgresql:42.2.18.jre7'
|
2020-11-25 13:30:33 +01:00
|
|
|
implementation 'org.apache.commons:commons-lang3:3.11'
|
|
|
|
implementation 'net.sf.biweekly:biweekly:0.6.5'
|
2020-11-25 12:13:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|