forked from gradlex-org/build-parameters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
52 lines (44 loc) · 1.36 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
plugins {
id("groovy")
id("gradlexbuild.build-parameters")
id("gradlexbuild.documentation-conventions")
id("org.gradlex.internal.plugin-publish-conventions") version "0.5"
}
group = "org.gradlex"
version = "1.5"
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
}
pluginPublishConventions {
id("${project.group}.${project.name}")
implementationClass("org.gradlex.buildparameters.BuildParametersPlugin")
displayName("Build Parameters Gradle Plugin")
description("Compile-safe access to parameters supplied to a Gradle build.")
tags("gradlex", "parameters", "build parameters")
gitHub("https://github.com/gradlex-org/build-parameters")
website("https://gradlex.org/build-parameters")
developer {
id.set("britter")
name.set("Benedikt Ritter")
email.set("[email protected]")
}
developer {
id.set("jjohannes")
name.set("Jendrik Johannes")
email.set("[email protected]")
}
}
// TODO This needs to be included in org.gradlex.internal.plugin-publish-conventions
signing {
useInMemoryPgpKeys(buildParameters.signing.key, buildParameters.signing.passphrase)
}
dependencies {
testImplementation("org.spockframework:spock-core:2.1-groovy-3.0")
}
tasks.test {
useJUnitPlatform()
maxParallelForks = 4
}
tasks.publishPlugins {
dependsOn(tasks.check)
}