-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (39 loc) · 973 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
38
39
40
41
42
43
44
45
46
47
48
49
50
description = "HTML Writer Project"
apply plugin: 'base'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
group = 'scu'
version = '1.0.3-SNAPSHOT'
archivesBaseName = 'html-writer'
configurations {
deployerJars
}
repositories {
maven {
url 'http://svn.scu.edu.au/nexus/content/groups/public/'
}
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: stagingUrl) {
authentication(userName: deployUsername, password: deployPassword)
}
snapshotRepository(url: snapshotUrl) {
authentication(userName: snapshotDeployUsername, password: snapshotDeployPassword)
}
}
}
}
dependencies {
//compile 'org.bluestemsoftware.open.maven.tparty:xerces-impl:2.9.0'
compile 'org.apache.servicemix.bundles:org.apache.servicemix.bundles.xerces:2.11.0_1'
testCompile 'org.testng:testng:6.9.10'
}
test {
useTestNG()
}
boolean isSnapshot() {
project.version.contains("SNAPSHOT")
}