-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
30 lines (24 loc) · 713 Bytes
/
build.gradle
File metadata and controls
30 lines (24 loc) · 713 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
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.7
version = '1.0'
repositories {
mavenCentral()
mavenLocal()
mavenRepo url:'http://repo.springsource.org/milestone/'
}
jar {
manifest {
attributes 'Implementation-Title': 'Sample application', 'Implementation-Version': version
attributes 'Main-Class': 'org.cloudfoundry.sample.JavaSample'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
dependencies {
compile 'org.cloudfoundry:cloudfoundry-client-lib:1.0.3'
compile 'org.apache.commons:commons-lang3:3.1'
compile 'com.beust:jcommander:1.30'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}