-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (26 loc) · 856 Bytes
/
Copy pathbuild.gradle
File metadata and controls
38 lines (26 loc) · 856 Bytes
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
apply plugin: 'eclipse'
apply plugin: 'scala'
version = "0.1"
group = "com.gmail.nmarshall23"
project.ext.HOME = "$System.env.HOME"
project.ext.BUKKIT_HOME = project.HOME + "/bin/games/craftbukkit"
repositories {
mavenCentral()
maven {
url "http://repo.bukkit.org/content/repositories/releases"
}
}
dependencies {
// Libraries needed to run the scala tools
scalaTools 'org.scala-lang:scala-compiler:2.8.0'
scalaTools 'org.scala-lang:scala-library:2.8.0'
// Libraries needed for scala api
compile 'org.scala-lang:scala-library:2.8.0'
compile 'javax.servlet:servlet-api:2.5'
compile 'org.bukkit:bukkit:1.2.5-R1.0'
testCompile group: 'junit', name: 'junit', version: '4.8.2'
}
task copyPlugin(dependsOn: 'jar', type: Copy) {
from 'build/libs/'
into project.BUKKIT_HOME + "/plugins/"
}