2020-10-25 11:11:53 +01:00
|
|
|
plugins {
|
2020-10-25 10:52:17 +01:00
|
|
|
id 'java'
|
2020-10-25 14:38:03 +01:00
|
|
|
id 'application'
|
2020-10-25 10:52:17 +01:00
|
|
|
}
|
2020-10-25 11:11:53 +01:00
|
|
|
|
|
|
|
group 'xyz.vallat.louis'
|
2020-10-29 15:32:55 +01:00
|
|
|
version ''
|
2020-10-25 11:11:53 +01:00
|
|
|
|
2020-10-25 14:38:03 +01:00
|
|
|
apply plugin : 'java'
|
|
|
|
ext {
|
2020-10-29 17:03:50 +01:00
|
|
|
javaMainClass = 'xyz.vallat.louis.MoviesQuoteBot'
|
2020-10-25 14:38:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClassName = javaMainClass
|
|
|
|
}
|
|
|
|
|
2020-10-25 11:11:53 +01:00
|
|
|
jar {
|
|
|
|
manifest {
|
2020-10-25 14:38:03 +01:00
|
|
|
attributes 'Main-Class': javaMainClass
|
2020-10-25 11:11:53 +01:00
|
|
|
}
|
|
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
|
|
|
|
|
|
from {
|
|
|
|
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-10-25 17:58:36 +01:00
|
|
|
implementation 'com.discord4j:discord4j-core:3.1.1'
|
2020-10-26 11:32:57 +01:00
|
|
|
implementation 'com.github.wtekiela:opensub4j:0.3.0'
|
2020-10-26 21:01:06 +01:00
|
|
|
implementation 'org.apache.commons:commons-lang3:3.11'
|
2020-11-03 23:49:13 +01:00
|
|
|
implementation 'commons-cli:commons-cli:1.4'
|
2020-10-27 21:38:19 +01:00
|
|
|
implementation 'org.apache.commons:commons-csv:1.8'
|
2020-10-25 14:38:03 +01:00
|
|
|
implementation 'ch.qos.logback:logback-classic:1.2.3'
|
2020-10-27 16:22:55 +01:00
|
|
|
implementation 'org.postgresql:postgresql:42.2.18.jre7'
|
2020-10-28 13:34:13 +01:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.6'
|
2020-10-25 11:11:53 +01:00
|
|
|
}
|