summaryrefslogtreecommitdiff
path: root/build.gradle
blob: 913b6db65571a5ca5a11f8d7fed216ce1a12d7a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2'
    }
}
plugins {
    id 'java'
    id 'application'
    id 'com.github.johnrengelman.shadow' version '2.0.2'
}

shadowJar {
    classifier = 'shadow'
}

group 'de.romjaki'
version '1.0-SNAPSHOT'

mainClassName = 'de.romjaki.privateroombot.Main'

sourceCompatibility = 1.8

jar {
    manifest {
        attributes 'Main-Class': mainClassName
    }
}
repositories {
    mavenCentral()
    jcenter()
}

dependencies {
    compile 'net.dv8tion:JDA:+'
    compile 'com.google.code.gson:gson:2.8.2'
    testCompile group: 'junit', name: 'junit', version: '4.12'
}