moviequotebot/build.gradle
Louis Vallat 672567e118 Added support for searching subtitles language availability
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 21:01:06 +01:00

38 lines
762 B
Groovy

plugins {
id 'java'
id 'application'
}
group 'xyz.vallat.louis'
version '0.1-SNAPSHOT'
apply plugin : 'java'
ext {
javaMainClass = 'xyz.vallat.louis.MovieQuoteBot'
}
application {
mainClassName = 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.1'
implementation 'com.github.wtekiela:opensub4j:0.3.0'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'ch.qos.logback:logback-classic:1.2.3'
}