-
Notifications
You must be signed in to change notification settings - Fork 0
/
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.11.1'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}
apply plugin: 'org.jenkins-ci.jpi'
sourceCompatibility = 1.7
targetCompatibility = 1.7
group = 'com.switchfly'
version = '2.0.2-SNAPSHOT'
description = 'A plugin to build merge requests in Gitlab'
jenkinsPlugin {
coreVersion = '1.638'
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: '1.2.5')
compile(group: 'com.google.code.gson', name: 'gson', version: '2.7')
testCompile(group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3')
testCompile(group: 'junit', name: 'junit', version: '4.11')
testCompile(group: 'org.jmockit', name: 'jmockit', version: '1.19')
}
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
}