forked from campaignmonitor/createsend-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (43 loc) · 1.14 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'idea'
install.dependsOn ':build'
defaultTasks 'clean', 'install'
sourceCompatibility = 1.6
version = '1.0.4'
group = 'com.createsend'
def localMavenRepo = 'file://' + new File(System.getProperty('user.home'), '.m2/repository').absolutePath
repositories {
mavenCentral()
mavenRepo name: "Java.Net", urls: ["http://download.java.net/maven/2/"]
}
dependencies {
// testCompile group: 'junit', name: 'junit', version: '4.8.1'
compile group: 'com.sun.jersey', name: 'jersey-client', version: '1.5'
compile group: 'com.sun.jersey.contribs', name: 'jersey-apache-client', version: '1.5'
compile group: 'com.sun.jersey', name: 'jersey-json', version: '1.5'
}
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'src'
}
}
samples {
java {
srcDir 'samples'
}
}
}
task copyToLib(type: Copy) {
into "$buildDir/libs"
from configurations.runtime
}
/*
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
} */