forked from Dasfaust/GlobalMarket
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
59 lines (53 loc) · 1.21 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
58
59
import org.apache.tools.ant.filters.*
apply plugin: 'java'
sourceCompatibility = 1.7
ext.env = System.getenv()
ext.hash = 'git rev-parse --short HEAD'.execute().text.trim()
ext.build = env.BUILD_NUMBER
repositories
{
mavenCentral()
// Spigot
maven
{
url "https://hub.spigotmc.org/nexus/content/groups/public/"
}
// ProtocolLib
maven
{
url "http://repo.comphenix.net/content/groups/public/"
}
maven
{
url "http://ci.shadowvolt.com/plugin/repository/everything/"
}
// Vault
maven
{
url "http://nexus.theyeticave.net/content/repositories/pub_releases/"
}
}
if (ext.build == null)
{
if (ext.hash != null)
{
ext.build = ext.hash
}
else
{
ext.build = "nogit"
}
}
version = "1.3.0-" + build
dependencies
{
compile group: 'org.bukkit', name: 'bukkit', version: '1.8-R0.1-SNAPSHOT'
compile group: 'net.milkbowl.vault', name: 'Vault', version: '1.5.0'
compile group: 'com.comphenix.protocol', name: 'ProtocolLib', version: '3.6.3-SNAPSHOT'
compile files("libs/MarketCompanion-1.7.10-2.0.1.jar")
}
processResources {
filter ReplaceTokens, tokens: [
"version": project.version
]
}