This repository was archived by the owner on Sep 25, 2021. It is now read-only.
forked from MCBRasil/Gnar-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
88 lines (71 loc) · 2.4 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
plugins {
id 'java'
id 'idea'
id 'application'
id 'org.jetbrains.kotlin.jvm' version '1.3.41'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}
archivesBaseName = 'Octave'
group 'xyz.gnarbot'
version '6.1.4'
mainClassName = 'xyz.gnarbot.gnar.Bot'
sourceCompatibility = 11
targetCompatibility = 11
repositories {
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://dl.bintray.com/natanbc/maven' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://m2.dv8tion.net/releases' }
}
dependencies {
// Kotlin
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3"
// Kotlin:Eval
implementation "org.jetbrains.kotlin:kotlin-script-runtime:1.3.61"
implementation "org.jetbrains.kotlin:kotlin-script-util:1.3.61"
implementation "org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.61"
implementation "org.jetbrains.kotlin:kotlin-scripting-jsr223-embeddable:1.3.61"
// Discord
compile 'net.dv8tion:JDA:4.1.1_141'
compile 'club.minnced:discord-webhooks:0.1.8'
// Audio
compile 'com.sedmelluq:lavaplayer:1.3.66'
compile 'com.github.natanbc:lavadsp:0.5.2'
compile 'com.sedmelluq:lavaplayer-ext-youtube-rotator:0.2.3'
compile 'com.sedmelluq:jda-nas:1.1.0'
// Stats
compile 'com.datadoghq:java-dogstatsd-client:2.9.0'
// Logging
compile 'io.sentry:sentry:1.7.30'
compile 'ch.qos.logback:logback-classic:1.2.3'
// Configuration
compile 'ninja.leaping.configurate:configurate-hocon:3.3'
compile 'org.json:json:20170516'
// Database
compile 'com.rethinkdb:rethinkdb-driver:2.4.0'
compile 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.2'
compile 'redis.clients:jedis:3.2.0'
compile 'org.redisson:redisson:3.12.4'
// Networking/Scraping
compile 'com.squareup.okhttp3:okhttp:3.14.2'
compile 'org.jsoup:jsoup:1.10.3'
// Libraries
compile 'org.apache.commons:commons-text:1.1'
compile 'commons-io:commons-io:2.6'
compile 'com.google.guava:guava:23.2-jre'
}
compileJava.options.encoding = 'UTF-8'
compileKotlin {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
kotlinOptions {
jvmTarget = '11'
}
}
jar {
manifest {
attributes 'Main-Class': mainClassName
}
}