-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
52 lines (46 loc) · 1.3 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
buildscript {
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
}
plugins {
id 'java'
id 'java-library'
}
apply plugin: 'maven'
group 'org.wycliffeassociates'
version '1.9.1'
repositories {
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "${System.getenv("NEXUS_URL")}/repository/maven-releases") {
authentication(
userName: System.getenv("NEXUS_USER"),
password: System.getenv("NEXUS_PASSWORD")
)
}
snapshotRepository(url: "${System.getenv("NEXUS_URL")}/repository/maven-snapshots") {
authentication(
userName: System.getenv("NEXUS_USER"),
password: System.getenv("NEXUS_PASSWORD")
)
}
pom.project {
licenses {
license {
name 'MIT License'
url 'https://raw.githubusercontent.com/WycliffeAssociates/USFMToolsJava/master/LICENSE'
distribution 'repo'
}
}
}
}
}
}