-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
85 lines (79 loc) · 2.37 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
84
apply plugin: 'idea'
apply plugin: 'eclipse'
allprojects {
apply plugin: 'java'
apply plugin: 'maven'
group = 'org.jpos'
version = '1.8.9-SNAPSHOT'
configurations.compile.transitive = true
}
subprojects { subProject ->
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
mavenLocal()
mavenCentral()
mavenRepo name: 'oracle', url: "http://download.oracle.com/maven"
mavenRepo name: 'jline', url: "http://jline.sourceforge.net/m2repo"
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: 'file:///opt/local/maven')
}
}
}
def pomConfig = {
name 'jPOS Project'
description """
jPOS is a Java platform-based, mission-critical,
ISO-8583 based financial transaction library/framework
that can be customized and extended in order to
implement financial interchanges.
"""
url 'http://jpos.org'
organization {
name 'jPOS.org'
url 'http://jpos.org'
}
issueManagement {
system 'YouTrack'
url 'https://jpos.org/issues'
}
scm {
url "http://github.com/jpos/jPOS"
connection "scm:git:https://github.com/jpos/jPOS.git"
developerConnection "scm:git:[email protected]:jpos/jPOS.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]'
}
}
}
subProject.ext.basePomConfig = pomConfig
configure(install.repositories.mavenInstaller) {
pom.project pomConfig
}
}
task aggregatedJavadoc (type: Javadoc, description: "Aggregated Javadocs") {
source subprojects.collect {project ->
project.sourceSets.main.allJava
}
destinationDir = new File(buildDir, 'docs/javadoc')
classpath = files(subprojects.collect {project ->
project.sourceSets.main.compileClasspath})
}
task wrapper( type: Wrapper ) {
gradleVersion = '1.2'
}