-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (40 loc) · 1.27 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
allprojects {
group = 'de.felixklauke.sansa'
version = '1.0.0'
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
repositories {
mavenLocal()
maven {
url = 'https://repository.klauke-enterprises.com/repository/maven-releases/'
}
maven {
url = 'https://repository.klauke-enterprises.com/repository/maven-snapshots/'
}
maven {
url = 'http:https://repo.maven.apache.org/maven2'
}
}
publishing {
publications {
maven(MavenPublication) {
from(project(':sansa-commons').components.java)
}
}
repositories {
maven {
def releasesRepoUrl = 'https://repository.klauke-enterprises.com/repository/maven-releases/'
def snapshotsRepoUrl = 'https://repository.klauke-enterprises.com/repository/maven-snapshots/'
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = System.getenv('NEXUS_USERNAME')
password = System.getenv('NEXUS_PASSWORD')
}
}
}
}
sourceCompatibility = '1.11'
}