-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
73 lines (64 loc) · 2.14 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
buildscript {
repositories {
maven {
name 'jenkins-ci-plugins'
url("http://maven.jenkins-ci.org/content/repositories/releases")
}
mavenCentral()
}
dependencies { classpath('org.jenkins-ci.tools:gradle-jpi-plugin:0.4.0') }
}
apply plugin: 'jpi'
repositories {
maven {
name 'jenkin-ci'
url 'http://maven.jenkins-ci.org/content/repositories/releases'
}
mavenCentral()
}
configurations.testCompile.exclude group: 'org.jenkins-ci.modules', module:'instance-identity'
configurations.testCompile.exclude group: 'org.jenkins-ci.modules', module:'ssh-cli-auth'
dependencies {
//groovy localGroovy() // Can't guarantee 1.8.6
groovy 'org.codehaus.groovy:groovy-all:1.8.6'
compile 'xmlunit:xmlunit:1.1'
testCompile 'org.spockframework:spock-core:0.6-groovy-1.8'
testCompile 'junit:junit:4.10'
}
test {
useJUnit() // Causes "failed to create temp file to extract class from jar into"
}
group = "org.jenkinsci.plugins"
version = "1.0-beta"
description = "This plugin allows definition of Jobs via a DSL, using existing Jobs as a template."
//archivesBaseName = "job-dsl-plugin"
jenkinsPlugin {
coreVersion = '1.456'
displayName = 'Job DSL'
url = 'https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin' // TODO create wiki page
gitHubUrl = 'https://github.com/JavaPosseRoundup/jenkins-job-dsl' // TODO Move to jenkin org
developers {
developer {
id 'quidryan'
name 'Justin Ryan'
email '[email protected]'
}
developer {
id 'andrewharmellaw'
name 'Andrew Harmel-Law'
email '[email protected]'
}
}
}
task createWrapper(type: Wrapper) { gradleVersion = '1.0' }
task(showTestClasspath) << {
println "Classpath:"
println "${configurations.testCompile.resolvedConfiguration}"
println "${configurations.compile.allArtifacts}"
configurations.testCompile.files.each {
println it
}
println "${configurations.testCompile.allDependencies}"
println "${configurations.jenkinsTest.allArtifacts}"
}
apply from: 'gradle/ide.gradle'