-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
89 lines (64 loc) · 2.11 KB
/
build.gradle
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
buildscript {
ext.kotlin_version = '1.3.60-eap-143'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.2.60'
id 'com.github.johnrengelman.shadow' version '2.0.2'
}
apply plugin: 'kotlin'
group 'me.greggkr.bdb'
version '1.0.1'
project.buildDir = 'heroku'
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
task stage(dependsOn: ['shadowJar', 'build', 'clean'])
shadowJar.mustRunAfter build
build.mustRunAfter clean
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile 'org.jetbrains.kotlin:kotlin-reflect:1.2.31'
compile "org.jetbrains.kotlin:kotlin-compiler:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-script-util:$kotlin_version"
compile "net.dv8tion:JDA:3.7.1_411"
compile 'com.jagrosh:jda-utilities:2.1.4'
compile "com.github.Comportment:JDA-Command:1.1.1"
compile 'com.google.guava:guava:28.1-jre'
compile "ch.qos.logback:logback-classic:1.2.3"
compile "com.natpryce:konfig:1.6.1.0"
compile "com.google.code.gson:gson:2.8.2"
compile 'org.mongodb:mongodb-driver:3.6.3'
compile 'org.codehaus.groovy:groovy-all:2.4.14'
compile 'com.squareup.okhttp3:okhttp:3.11.0'
compile 'com.github.FredBoat:Lavalink-Client:125b074'
compile 'com.github.GreggKr:osu4j:fbae7ad'
compile 'com.github.francesco149:koohii:1.0.15'
compile 'com.github.gdaniel:beatmap-analyzer:40b8a8e'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
}
jar {
archiveName = 'BDB-REG.jar'
manifest {
attributes 'Main-Class': 'me.greggkr.bdb.BDBKt',
'Implementation-Version': project.version
}
}
shadowJar {
archiveName = 'BDB.jar'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}