-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (57 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
57
58
59
60
61
62
63
64
65
66
67
68
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath group: 'org.codehaus.groovy', name: 'groovy-json', version: '3.0.13'
}
}
plugins {
id 'java-gradle-plugin'
id 'groovy'
id 'java'
id 'idea'
id 'maven-publish'
id "de.undercouch.download" version "5.2.0"
}
repositories {
mavenCentral()
}
description = 'SDE Software Developer Environment'
group = "com.one38over.sde"
version = "0.1"
dependencies {
implementation 'org.codehaus.groovy:groovy:3.0.13'
implementation 'commons-io:commons-io:2.11.0'
implementation 'com.typesafe:config:1.4.2'
testImplementation platform("org.spockframework:spock-bom:2.2-groovy-3.0")
testImplementation "org.spockframework:spock-core"
testImplementation "org.spockframework:spock-junit4"
}
testing {
suites {
test {
useSpock()
}
}
}
gradlePlugin {
plugins {
customPlugin {
id = 'com.one38over.sde'
implementationClass = 'com.one38over.gradle.SDEPlugin'
}
}
}
ext {
sde = [:]
sde.home = System.getenv("HOME") + "/.sde"
sde.cache = sde.home + "/cache"
}
tasks.register('jenkins-war-download') {
doLast {
// https://updates.jenkins-ci.org/download/war/2.370/jenkins.war
println sde.home
println sde.cache
}
}