forked from JungleComputing/ipl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
119 lines (102 loc) · 4.35 KB
/
Copy pathbuild.gradle
File metadata and controls
119 lines (102 loc) · 4.35 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
plugins {
id 'java'
id 'maven'
id 'signing'
id 'com.github.hierynomus.license' version '0.14.0'
}
allprojects {
repositories {
mavenCentral()
}
}
subprojects {
if (it.name != 'docs') {
apply from: "${rootProject.rootDir}/gradle/common.gradle"
}
}
configure(subprojects.findAll {it.name != 'docs' && it.name != 'examples' && it.name != 'benchmarks'} ) {
apply plugin: 'maven'
apply plugin: 'signing'
signing {
sign configurations.archives
}
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
// repository(url: "file://${System.properties['user.home']}/.m2/repository") {
// }
snapshotRepository(url: "https://s01.oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
project.afterEvaluate {
pom.project {
groupId 'nl.junglecomputing.ipl'
artifactId archivesBaseName
description "${project.ext.pdescription}"
name "${project.ext.pname}"
println "${project.ext.pname}"
packaging 'jar'
url 'https://github.com/junglecomputing/ipl'
scm {
connection 'scm:git:git://github.com/junglecomputing/ipl.git'
developerConnection 'scm:git:ssh://github.com:junglecomputing/ipl.git'
url 'https://github.com/junglecomputing/ipl/tree/master'
}
licenses {
license {
name 'The Apache License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
name = 'Rob van Nieuwpoort'
organization = 'Netherlands escience Center'
url = 'https://www.esciencecenter.nl/team/prof-rob-van-nieuwpoort-3'
}
developer {
name = 'Jason Maassen'
organization = 'Netherlands escience Center'
url = 'https://www.esciencecenter.nl/team/dr-jason-maassen/'
}
developer {
name = 'Niels Drost'
organization = 'Netherlands escience Center'
url = 'https://www.esciencecenter.nl/team/dr-niels-drost'
}
developer {
name = 'Ceriel Jacobs'
organization = 'Vrije Universiteit Amsterdam'
url = 'https://github.com/CerielJacobs'
}
developer {
name = 'Nick Palmer'
url = 'https://github.com/nickpalmer'
}
}
}
}
}
}
}
}
defaultTasks 'clean', 'assemble', 'copyDeps'
dependencies {
compile project(path: 'api')
compile project(path: 'compile')
compile project(path: 'support')
compile project(path: 'util')
compile project(path: 'io')
compile project(path: 'benchmarks')
compile project(path: 'examples')
compile project(path: 'impl-nio')
compile project(path: 'impl-multi')
compile project(path: 'impl-tcp')
compile project(path: 'impl-smartsockets')
compile project(path: 'impl-stacking-dummy')
compile project(path: 'impl-stacking-lrmc')
}