-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
36 lines (30 loc) · 839 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '4.0.4'
}
group 'io.github.thedoctorone.MinecraftConnectsDiscord'
version '0.85'
sourceCompatibility = 1.8
mainClassName = 'io.github.thedoctorone.Main'
shadowJar {
classifier = null // do not append "-all"
}
repositories {
jcenter()
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
mavenLocal()
}
dependencies {
testCompile "junit:junit:4.11"
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
compile ("net.dv8tion:JDA:4.0.0_55") {
exclude module: "opus-java"
}
}
/*
// Publishing a Shadow JAR with the Maven-Publish Plugin
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'*/
compileJava.options.encoding = 'UTF-8'