-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (49 loc) · 1.39 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
plugins {
id 'java'
id 'idea'
id 'io.franzbecker.gradle-lombok' version '3.1.0' // do we want lombok?
id 'com.github.johnrengelman.shadow' version '5.1.0'
}
group 'at.helpch'
version '1.0.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots'
}
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
maven {
url 'https://repo.piggypiglet.me/repository/maven-releases'
}
}
dependencies {
compile 'me.piggypiglet:framework-bukkit:+'
compile 'me.piggypiglet:framework-jars:+'
compileOnly 'org.jetbrains:annotations:+'
compileOnly 'org.bukkit:bukkit:1.14.4-R0.1-SNAPSHOT'
testCompile 'com.google:guiceberry:+'
testCompile 'com.google.guava:guava:+'
testCompile 'com.google.guava:guava-testlib:+'
testCompile 'junit:junit:4.12'
}
lombok {
version = '1.18.8'
sha256 = ""
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
shadowJar {
destinationDirectory = file("$rootDir/spigot/plugins")
exclude 'META-INF/*.SF'
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
relocate 'me.piggypiglet.framework', 'at.helpch.modular.framework'
}
compileJava.options.encoding = 'UTF-8'