presenceirb/app/build.gradle

46 lines
877 B
Groovy
Raw Normal View History

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 {
implementation 'com.discord4j:discord4j-core:3.1.1'
implementation 'ch.qos.logback:logback-classic:1.2.3'
implementation 'org.postgresql:postgresql:42.2.18.jre7'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'net.sf.biweekly:biweekly:0.6.5'
}