-
Notifications
You must be signed in to change notification settings - Fork 128
/
build.gradle
58 lines (50 loc) · 1.32 KB
/
build.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
buildscript {
repositories {
jcenter()
maven {
url = 'http://repo.jenkins-ci.org/public/'
}
}
dependencies {
classpath 'org.jenkins-ci.tools:gradle-jpi-plugin:0.26.0'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}
apply plugin: 'org.jenkins-ci.jpi'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'com.switchfly'
version = '2.1.0-SNAPSHOT'
description = 'A plugin to build merge requests in Gitlab'
jenkinsPlugin {
coreVersion = '2.121'
displayName = 'Gitlab Merge Request Builder'
url = 'https://wiki.jenkins-ci.org/display/JENKINS/Gitlab+Merge+Request+Builder+Plugin'
gitHubUrl = 'https://github.com/timols/jenkins-gitlab-merge-request-builder-plugin'
developers {
developer {
id 'timols'
name 'Tim Olshansky'
email '[email protected]'
}
}
}
repositories {
mavenLocal()
mavenCentral()
maven {
url = 'http://repo.jenkins-ci.org/public/'
}
}
dependencies {
compile(group: 'org.gitlab', name: 'java-gitlab-api', version: '4.0.0')
compile(group: 'com.google.code.gson', name: 'gson', version: '2.8.5')
testCompile(group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3')
testCompile(group: 'junit', name: 'junit', version: '4.12')
testCompile(group: 'org.jmockit', name: 'jmockit', version: '1.22')
}
task wrapper(type: Wrapper) {
gradleVersion = '4.6'
}