-
Notifications
You must be signed in to change notification settings - Fork 4
/
lib.gradle
42 lines (38 loc) · 1.17 KB
/
lib.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
void configureUpload(String licenseName) {
install {
repositories.mavenInstaller {
pom {
groupId = project.group
project {
name pomProjectName
packaging 'jar'
description projectDescription
url projectUrl
organization {
name pomOrganisation
url projectUrl
}
scm {
url scmUrl
}
licenses {
license {
name licenseName
url "https://github.com/derive4j/derive4j-fj/blob/master/LICENSE.txt"
distribution 'repo'
}
}
developers {
developer {
name "Jean-Baptiste Giraudeau"
email primaryEmail
}
}
}
}
}
}
}
ext {
configureUpload = this.&configureUpload
}