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'
|
|
|
|
version '0.1-SNAPSHOT'
|
|
|
|
|
2020-10-25 14:38:03 +01:00
|
|
|
apply plugin : 'java'
|
|
|
|
ext {
|
|
|
|
javaMainClass = 'xyz.vallat.louis.MovieQuoteBot'
|
|
|
|
}
|
|
|
|
|
|
|
|
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-10-27 11:43:10 +01:00
|
|
|
implementation 'com.github.dnbn.submerge:submerge-api:1.9.2'
|
2020-10-25 14:38:03 +01:00
|
|
|
implementation 'ch.qos.logback:logback-classic:1.2.3'
|
2020-10-25 11:11:53 +01:00
|
|
|
}
|