* Added an heartbeat argument that send a command every 60 seconds if it's online
56 lines
1.5 KiB
Groovy
56 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'
|
|
}
|
|
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// This dependency is used by the application.//
|
|
implementation 'com.google.guava:guava:31.0.1-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.9.1'
|
|
implementation 'club.minnced:opus-java:1.1.1'
|
|
|
|
implementation 'ws.schild:jave-all-deps:3.1.1'
|
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
|
implementation 'com.sedmelluq:lavaplayer:1.3.78'
|
|
implementation 'com.github.DV8FromTheWorld:JDA:4.4.0'
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application
|
|
mainClassName = 'fr.Skydust.JdrBot.JdrBot'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': 'fr.Skydust.JdrBot.JdrBot'
|
|
}
|
|
} |