forked from TerXIII/Very-Sticky-Pistons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (24 loc) · 859 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
37
apply plugin: 'eclipse'
apply plugin: 'groovy'
version = "0.1"
group = "org.Ter13.VeryStickyPistons"
project.ext.HOME = "$System.env.HOME"
project.ext.BUKKIT_HOME = project.HOME + "/bin/games/craftbukkit"
project.ext.PLUGIN_NAME = "Very"
repositories {
mavenCentral()
maven {
//url "http://repo.bukkit.org/content/repositories/releases"
url "http://repo.bukkit.org/content/repositories/snapshots"
}
}
dependencies {
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.10'
//compile files( project.BUKKIT_HOME + "/bukkit-1.2.4-R0.1-20120323.055539-8.jar")
compile 'org.bukkit:bukkit:1.2.4-R0.1-SNAPSHOT'
testCompile group: 'junit', name: 'junit', version: '4.8.2'
}
task copyToServer(dependsOn: 'jar', type: Copy) {
from 'build/libs/'
into project.BUKKIT_HOME + "/plugins/"
}