-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (50 loc) · 1.51 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven'
sourceCompatibility = 1.8
targetCompatibility = 1.8
def username = hasProperty('nexusUser') ? nexusUser : System.getenv('nexusUser')
def password = hasProperty('nexusPassword') ? nexusPassword : System.getenv('nexusPassword')
repositories {
mavenCentral()
}
install {
repositories.mavenInstaller {
pom.version = '0.0.2'
pom.artifactId = 'gdpr-consent-framework'
pom.groupId = 'com.yieldlab'
}
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "http://nexus:8081/nexus/content/repositories/releases") {
authentication(userName: username, password: password)
}
snapshotRepository(url: "http://nexus:8081/nexus/content/repositories/snapshots") {
authentication(userName: username, password: password)
}
pom.version = '0.0.2'
pom.artifactId = 'gdpr-consent-framework'
pom.groupId = 'com.yieldlab'
}
}
}
jar {
version = '0.0.2'
baseName = 'gdpr-consent-framework'
group = 'com.yieldlab'
}
dependencies {
testCompile(
"junit:junit:4.11",
"org.hamcrest:java-hamcrest:2.0.0.0"
)
compile(
"com.fasterxml.jackson.core:jackson-databind:2.8.5",
"com.fasterxml.jackson.core:jackson-core:2.8.5",
"com.fasterxml.jackson.core:jackson-annotations:2.8.5",
"com.google.guava:guava:14.0.1"
)
}