45 lines
1020 B
Groovy
45 lines
1020 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
group 'xyz.vallat.louis'
|
|
version ''
|
|
|
|
apply plugin : 'java'
|
|
ext {
|
|
javaMainClass = 'xyz.vallat.louis.MoviesQuoteBot'
|
|
}
|
|
|
|
|
|
application {
|
|
getMainClass().set(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 'com.discord4j:discord4j-core:3.1.5'
|
|
implementation 'com.github.wtekiela:opensub4j:0.3.0'
|
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
|
implementation 'commons-cli:commons-cli:1.5.0'
|
|
implementation 'org.jsoup:jsoup:1.14.3'
|
|
implementation 'org.apache.commons:commons-csv:1.9.0'
|
|
implementation 'ch.qos.logback:logback-classic:1.2.10'
|
|
implementation 'org.postgresql:postgresql:42.3.1'
|
|
implementation 'com.google.code.gson:gson:2.8.9'
|
|
}
|