LunarBot/build.gradle
2021-09-21 15:50:08 -04:00

44 lines
1.1 KiB
Groovy

plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
mainClassName = 'tech.nevets.lunarbot.Bot'
group 'tech.nevets.lunarbot'
version '1.0'
def jdaVer = '4.3.0_298'
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.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
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'
}
compileJava.options.encoding = 'UTF-8'
test {
useJUnitPlatform()
}