forked from steakteam/CHProtocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (40 loc) · 1.12 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
apply plugin: 'java'
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/groups/public/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
name = 'sk89q'
url = 'http://maven.sk89q.com/repo'
}
maven {
name = 'protocollib'
url = 'http://repo.dmulloy2.net/nexus/repository/public/'
}
}
dependencies {
compile('com.sk89q:commandhelper:3.3.2-SNAPSHOT') {
exclude module: 'spigot-api'
}
compile(group: 'com.comphenix.protocol', name: 'ProtocolLib-API', version: '4.4.0-SNAPSHOT') {
exclude module: 'cglib-nodep'
}
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'org.spigotmc:spigot-api:1.13.1-R0.1-SNAPSHOT'
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}