-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
56 lines (45 loc) · 1.35 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
plugins {
id "com.iadams.gradle-plugin-plugin" version "0.2"
}
group 'com.iadams.gradle'
version '0.1-RC2'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile 'io.fabric8:openshift-client:2.2.13'
testCompile 'commons-io:commons-io:2.4'
testCompile 'io.fabric8:kubernetes-client:2.2.13:tests'
testCompile 'io.fabric8:openshift-client:2.2.13:tests'
testCompile 'io.fabric8:openshift-server-mock:2.2.13'
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4', {
exclude module: 'groovy-all'
}
}
tasks.withType(Test) {
testLogging {
events "failed", "passed", "skipped"
exceptionFormat "full"
}
}
task integTestTarBall(type: Tar) {
from files('src/integTest/resources/docker-build/Dockerfile', 'src/integTest/resources/docker-build/server.js')
destinationDir = file('src/integTest/resources/docker-build')
archiveName = 'build.tar.gz'
compression = Compression.GZIP
}
processIntegTestResources.dependsOn integTestTarBall
pluginBundle {
website = 'https://github.com/iwarapter/gradle-openshift-plugin'
vcsUrl = 'https://github.com/iwarapter/gradle-openshift-plugin'
description = 'Plugin for integrating with OpenShift.'
tags = ['openshift']
plugins {
openshiftPlugin {
id = 'com.iadams.openshift-base'
displayName = 'Gradle OpenShift Plugin'
}
}
}