forked from leMaik/chunky-discord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (38 loc) · 864 Bytes
/
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
plugins {
id 'java'
id 'de.fuerstenau.buildconfig' version '1.1.8'
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
sourceSets {
main {
java.srcDir 'src/main/java'
resources.srcDir 'src/main/resources'
}
}
buildConfig {
packageName = 'de.lemaik.chunky.discord'
buildConfigField 'String', 'DISCORD_CLIENT_ID', discordClientId
}
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://jitpack.io'
}
maven {
url 'https://plugins.gradle.org/m2/'
}
maven {
url 'https://repo.lemaik.de/'
}
}
dependencies {
compileOnly 'se.llbit:chunky-core:2.4.0'
compile 'com.github.Vatuu:discord-rpc:1.6.2'
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}