Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- ext.kotlin_version = '1.2.31'
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
- }
- apply plugin: 'kotlin'
- apply plugin: 'distribution'
- apply plugin: 'application'
- mainClassName = 'AppKt'
- defaultTasks 'run'
- repositories {
- mavenCentral()
- jcenter()
- }
- dependencies {
- compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- testCompile 'junit:junit:4.11'
- testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
- compile 'net.dv8tion:JDA:3.7.1_421'
- }
- jar {
- manifest {
- attributes 'Main-Class': 'AppKt'
- }
- from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement