-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathmoco-publishing.gradle
More file actions
34 lines (31 loc) · 1.13 KB
/
Copy pathmoco-publishing.gradle
File metadata and controls
34 lines (31 loc) · 1.13 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
def isPublishingJvm = JavaVersion.current().getMajorVersion().toInteger() in (17..24)
if (isPublishingJvm) {
apply plugin: 'com.vanniktech.maven.publish'
mavenPublishing {
publishToMavenCentral()
signAllPublications()
pom {
name = project.name
description = 'Moco is an easy setup stub framework, mainly focusing on testing and integration.'
url = 'https://github.com/dreamhead/moco'
licenses {
license {
name = 'MIT Licence'
url = 'https://raw.githubusercontent.com/dreamhead/moco/master/MIT-LICENSE.txt'
}
}
developers {
developer {
id = 'dreamhead'
name = 'Zheng Ye'
email = 'dreamhead.cn@gmail.com'
}
}
scm {
connection = 'scm:git:https://github.com/dreamhead/moco.git'
developerConnection = 'scm:git:https://github.com/dreamhead/moco.git'
url = 'https://github.com/dreamhead/moco'
}
}
}
}