-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle.kts
57 lines (53 loc) · 1.7 KB
/
build.gradle.kts
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
group = "com.kiwigrid"
version = "$version"
plugins {
id("java-gradle-plugin")
id("groovy")
id("com.gradle.plugin-publish").version("0.12.0")
id ("maven-publish")
}
repositories {
mavenCentral()
}
dependencies {
implementation("de.undercouch:gradle-download-task:4.0.2")
implementation("com.jayway.jsonpath:json-path:2.4.0")
implementation("org.yaml:snakeyaml:1.20")
implementation("commons-io:commons-io:2.6")
testImplementation("org.spockframework:spock-core:2.0-M5-groovy-3.0") {
exclude(module = "groovy-all")
}
testImplementation("com.github.tomakehurst:wiremock-jre8:2.27.2")
testImplementation ("org.spockframework:spock-junit4:2.0-M5-groovy-3.0")
}
gradlePlugin {
plugins {
create("helmPlugin") {
id = "com.kiwigrid.helm"
implementationClass = "com.kiwigrid.k8s.helm.HelmPlugin"
}
}
}
pluginBundle {
website = "https://github.com/kiwigrid/helm-gradle-plugin"
vcsUrl = "https://github.com/kiwigrid/helm-gradle-plugin"
description = """
Gradle Plugin to integrate HELM Chart development in a gradle project with
strong focus on build and test.
""".trimIndent()
(plugins) {
"helmPlugin" {
displayName = "Gradle Helm Plugin"
description = """
Gradle Plugin to integrate HELM Chart development in a gradle project with
strong focus on build and test.
""".trimIndent()
tags = setOf("helm", "kubernetes")
version = project.version.toString()
}
}
}
tasks.withType<Test>().configureEach {
// Using JUnitPlatform for running tests
useJUnitPlatform()
}