-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
83 lines (68 loc) · 1.71 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath "org.hibernate.build.gradle:gradle-maven-publish-auth:2.0.1"
}
}
plugins {
id 'java'
id 'idea'
id 'maven-publish'
}
apply plugin: 'maven-publish-auth'
group 'de.adito.rrule-parser'
version '1.1.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
jcenter()
}
dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:5.2.0"
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.2.0'
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.2.0"
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
pom {
name = "RRule parser"
url = "https://github.com/aditosoftware/rrule-parser"
scm {
connection = "https://github.com/aditosoftware/rrule-parser.git"
developerConnection = "[email protected]:aditosoftware/rrule-parser.git"
url = "https://github.com/aditosoftware/rrule-parser"
}
issueManagement {
url = "https://github.com/aditosoftware/rrule-parser/issues"
system = "github"
}
organization {
name = "ADITO Software GmbH"
url = "http://www.adito.de"
}
}
}
}
repositories {
maven {
name = "adito.m2"
// If snapshot version publish it to snapshot repository
if (version.toString().endsWith("-SNAPSHOT"))
url = "http://nexus.aditosoftware.local/repository/snapshots/"
else
url = "http://nexus.aditosoftware.local/repository/releases/"
}
}
}