39 lines
1.0 KiB
Groovy
39 lines
1.0 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
|
}
|
|
|
|
mainClassName = 'net.nevet5.buzzbot.Bot'
|
|
|
|
group 'net.nevet5'
|
|
version '0.3.0'
|
|
def jdaVer = '4.4.0_350'
|
|
|
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://m2.dv8tion.net/releases"
|
|
}
|
|
maven {
|
|
name 'duncte123-jfrog'
|
|
url 'https://duncte123.jfrog.io/artifactory/maven'
|
|
}
|
|
maven {
|
|
url 'https://jitpack.io'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("net.dv8tion:JDA:$jdaVer")
|
|
implementation 'ch.qos.logback:logback-classic:1.2.8'
|
|
implementation group: 'me.duncte123', name: 'botCommons', version: '2.3.8'
|
|
implementation 'com.google.code.gson:gson:2.9.0'
|
|
implementation 'me.carleslc.Simple-YAML:Simple-Yaml:1.7.2'
|
|
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.28'
|
|
implementation 'com.github.Kaktushose:jda-commands:v.2.2.0'
|
|
}
|
|
|
|
compileJava.options.encoding = 'UTF-8' |