YeetBot/build.gradle

55 lines
1.2 KiB
Groovy
Raw Normal View History

2018-09-13 20:14:31 +02:00
plugins {
id 'java'
2018-09-15 00:28:17 +02:00
id 'org.jetbrains.kotlin.jvm' version '1.2.70'
2018-09-13 20:14:31 +02:00
id 'com.github.johnrengelman.shadow' version '2.0.4'
}
group 'nl.voidcorp.yeetbot'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
jcenter()
2018-09-15 00:28:17 +02:00
maven { url "https://dl.bintray.com/kotlin/ktor" }
2018-09-13 20:14:31 +02:00
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'net.dv8tion:JDA:3.7.1_421'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.11.1'
compile 'com.github.salomonbrys.kotson:kotson:2.5.0'
2018-09-18 11:42:57 +02:00
compile "io.ktor:ktor-server-jetty:0.9.4"
compile "io.ktor:ktor-freemarker:0.9.4"
2018-09-13 20:14:31 +02:00
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
shadowJar {
baseName = 'YeetBot'
classifier = null
version = null
}
jar {
manifest {
attributes 'Main-Class': 'nl.voidcorp.yeetbot.YeetKt'
}
2018-09-18 11:42:57 +02:00
}
kotlin {
experimental {
coroutines "enable"
}
2018-09-13 20:14:31 +02:00
}