forked from MCMicS/jenkins-control-plugin
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
74 lines (65 loc) · 1.59 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
plugins {
id "org.jetbrains.intellij" version "0.3.1"
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'com.github.johnrengelman.shadow'
intellij {
version '2018.2'
updateSinceUntilBuild false
pluginName 'jenkins-control-plugin'
alternativeIdePath '/Applications/PhpStorm.app'
}
configurations {
provided
}
sourceSets {
main {
java {
compileClasspath += configurations.provided
runtimeClasspath += configurations.provided
}
resources {
}
}
test {
java {
compileClasspath += configurations.provided
runtimeClasspath += configurations.provided
}
resources {
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'com.googlecode.json-simple:json-simple:1.1.1'
compile ('com.offbytwo.jenkins:jenkins-client:0.3.7') {
exclude group: 'org.slf4j'
exclude group: 'org.apache.logging.log4j'
}
compile 'com.google.guava:guava:17.0'
testCompile 'junit:junit:4.10'
testCompile 'org.mockito:mockito-all:1.8.5'
testCompile 'org.easytesting:fest-swing:1.2'
testCompile 'org.easytesting:fest-util:1.1.3'
testCompile 'org.unitils:unitils-core:3.3'
}
test {
doFirst {
systemProperty("idea.plugins.path", project.rootDir.canonicalPath + "/.test-plugins")
}
testLogging {
exceptionFormat = 'full'
showStandardStreams = true
}
}