43 lines
1.2 KiB
Groovy
43 lines
1.2 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'com.github.johnrengelman.shadow' version '5.2.0'
|
|
}
|
|
mainClassName = 'tech.nevets.constelliabot.Bot'
|
|
|
|
group 'tech.nevets.constelliabot'
|
|
version '0.0.1'
|
|
def jdaVer = '4.3.0_324'
|
|
|
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
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 {
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
|
|
implementation("net.dv8tion:JDA:$jdaVer")
|
|
implementation group: 'org.yaml', name: 'snakeyaml', version: '1.27'
|
|
implementation group: 'me.duncte123', name: 'botCommons', version: '2.3.8'
|
|
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.4'
|
|
implementation 'me.carleslc.Simple-YAML:Simple-Yaml:1.7.2'
|
|
implementation group: 'org.json', name: 'json', version: '20210307'
|
|
}
|
|
|
|
compileJava.options.encoding = 'UTF-8'
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |