forked from gitlab4j/gitlab4j-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (52 loc) · 2.42 KB
/
build.gradle
File metadata and controls
53 lines (52 loc) · 2.42 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
dependencies {
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.6'
api 'com.fasterxml.jackson.core:jackson-databind:2.18.6'
testImplementation 'org.mockito:mockito-core:5.2.0'
testImplementation 'org.mockito:mockito-junit-jupiter:5.2.0'
testImplementation 'org.hamcrest:hamcrest-all:1.3'
testImplementation 'uk.org.webcompere:system-stubs-jupiter:2.0.2'
testImplementation "org.junit.jupiter:junit-jupiter-api:5.13.4"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.13.4"
testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.13.4"
}
publishing {
publications {
mavenJava(MavenPublication) {
pom {
name = 'GitLab4J-API - GitLab API Java Models'
description = 'GitLab4J-API (gitlab4j-models) provides java models for working with GitLab repositories and servers via the GitLab REST API.'
packaging = 'jar'
url = 'https://' + "$githubRepositoryOwner" + '.github.io/' + "$githubRepositoryName" + '/'
licenses {
license {
name = 'The MIT License (MIT)'
url = 'http://opensource.org/licenses/MIT'
distribution = 'repo'
}
}
developers {
developer {
id = 'gmessner'
name = 'Greg Messner'
email = 'greg@messners.com'
}
developer {
id = 'gdesaintmartinlacaze'
name = 'Gautier de Saint Martin Lacaze'
email = 'gautier@jabby-techs.fr'
}
developer {
id = "$githubRepositoryOwner"
url = 'https://github.com/orgs/' + "$githubRepositoryOwner" + '/people'
}
}
scm {
connection = 'scm:git:https://github.com/' + "$githubRepositoryOwner" + '/' + "$githubRepositoryName" + '.git'
developerConnection = 'scm:git:https://github.com/' + "$githubRepositoryOwner" + '/' + "$githubRepositoryName" + '.git'
url = 'https://github.com/' + "$githubRepositoryOwner" + '/' + "$githubRepositoryName" + '/'
}
}
from components.java
}
}
}