-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
43 lines (35 loc) · 1.2 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
plugins {
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
apply plugin: 'java'
group = pluginGroup
version = pluginVersion
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url 'https://oss.sonatype.org/content/groups/public/' }
maven { url 'https://repo.dmulloy2.net/nexus/repository/public/' }
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT'
compileOnly 'org.spigotmc:spigot:1.16.4-R0.1-SNAPSHOT'
compileOnly 'com.comphenix.protocol:ProtocolLib:4.5.0'
compileOnly 'io.netty:netty-all:4.1.29.Final'
compileOnly 'org.jetbrains:annotations:19.0.0'
implementation 'org.mariuszgromada.math:MathParser.org-mXparser:4.4.2'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'org.reflections:reflections:0.9.12'
implementation 'com.google.guava:guava:29.0-jre'
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
shadowJar {
classifier = null
minimize {}
}