forked from jpos/jPOS-EE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subprojects.gradle
78 lines (68 loc) · 2.28 KB
/
subprojects.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
apply plugin: 'java-library'
apply plugin: 'signing'
sourceCompatibility = 1.8
targetCompatibility = 1.8
[ compileJava, compileTestJava, javadoc ]*.options*.encoding = 'UTF-8'
java {
withSourcesJar()
}
test {
useJUnitPlatform()
maxParallelForks = Runtime.runtime.availableProcessors()
}
dependencies {
testImplementation libraries.junit
//Java 10 support
testImplementation('com.sun.xml.bind:jaxb-impl:2.1.2')
testImplementation('com.sun.activation:javax.activation:1.2.0')
testImplementation('javax.xml.bind:jaxb-api:2.3.0')
}
publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'jPOS Project'
description = "jPOS Extended Edition"
url = "http://jpos.org"
organization {
name = 'jPOS.org'
url = 'http://jpos.org'
}
issueManagement {
system = 'Github Issues'
url = 'https://github.com/jpos/jPOS-EE/issues'
}
scm {
url = "http://github.com/jpos/jPOS-EE"
connection = "scm:git:https://github.com/jpos/jPOS-EE.git"
developerConnection = "scm:git:[email protected]:jpos/jPOS-EE.git"
}
licenses {
license {
name = 'GNU AFFERO GENERAL PUBLIC LICENSE'
url = 'http://www.gnu.org/licenses/agpl-v3.html'
comments = 'See http://jpos.org/license for more details.'
distribution = 'repo'
}
}
developers {
developer {
id = 'jpos-team'
name = 'jPOS Development Team'
email = '[email protected]'
}
}
}
groupId = 'org.jpos.ee'
artifactId = 'jposee'
from components.java
artifactId="jposee-${project.name}"
}
}
} // publishing
signing {
def isSnapshot = version.contains("SNAPSHOT")
required { !isSnapshot }
sign publishing.publications.mavenJava
}
task allDeps(type: DependencyReportTask) {}