55 lines
1.5 KiB
Groovy
55 lines
1.5 KiB
Groovy
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a sample Java project to get you started.
|
|
* For more details take a look at the Java Quickstart chapter in the Gradle
|
|
* User Manual available at https://docs.gradle.org/5.6/userguide/tutorial_java_projects.html
|
|
*/
|
|
|
|
plugins {
|
|
// Apply the java plugin to add support for Java
|
|
id 'java'
|
|
|
|
// Apply the application plugin to add support for building a CLI application
|
|
id 'application'
|
|
|
|
// Shadow plugin to make uberJars
|
|
id 'com.github.johnrengelman.shadow' version '7.1.0'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
maven {
|
|
url 'https://m2.dv8tion.net/releases'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// This dependency is used by the application.//
|
|
implementation 'com.google.guava:guava:28.0-jre'
|
|
//implementation 'org.slf4j:slf4j-log4j12:2.0.0-alpha0'
|
|
implementation 'org.slf4j:slf4j-simple:2.0.0-alpha0'
|
|
|
|
implementation 'net.lingala.zip4j:zip4j:2.5.2'
|
|
implementation 'club.minnced:opus-java:1.0.4'
|
|
|
|
implementation 'ws.schild:jave-all-deps:2.7.3'
|
|
implementation 'org.apache.commons:commons-lang3:3.0'
|
|
implementation 'com.sedmelluq:lavaplayer:1.3.75'
|
|
implementation 'net.dv8tion:JDA:4.2.1_253'
|
|
|
|
// Use JUnit test framework
|
|
testImplementation 'junit:junit:4.12'
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application
|
|
mainClassName = 'fr.Skydust.JdrBot.JdrBot'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes('Manifest-Version': '1.0', 'Main-Class': 'fr.Skydust.JdrBot.JdrBot');
|
|
}
|
|
} |