forked from gudzpoz/luajava
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpom.gradle
More file actions
36 lines (31 loc) · 795 Bytes
/
pom.gradle
File metadata and controls
36 lines (31 loc) · 795 Bytes
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
import org.gradle.api.publish.maven.internal.publication.DefaultMavenPom
def setPom(DefaultMavenPom pom, String extra) {
pom.name.set(POM_NAME + extra)
if (!POM_DESCRIPTION.isEmpty()) {
pom.description.set(POM_DESCRIPTION)
}
pom.url.set(POM_URL)
pom.licenses {
license {
name = POM_LICENCE_NAME
url = POM_LICENCE_URL
distribution = POM_LICENCE_DIST
}
}
pom.developers {
developer {
id = POM_DEV_ID
url = POM_DEV_URL
name = POM_DEV_ID
email = POM_DEV_EMAIL
}
}
pom.scm {
connection = POM_SCM_CONNECTION
developerConnection = POM_SCM_DEV_CONNECTION
url = POM_SCM_URL
}
}
ext {
setPom = this.&setPom
}