-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (52 loc) · 1.39 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
plugins {
id "java-gradle-plugin"
id "groovy"
id "org.jetbrains.kotlin.jvm" version "1.9.10" // should match Kotlin version bundled with Gradle
id "truststorebuilder-versioning"
id "truststorebuilder-docs"
id "truststorebuilder-publish"
id "truststorebuilder-spotless"
id "truststorebuilder-qa"
}
group = 'de.chkpnt'
description = "Building Java TrustStores with Gradle."
repositories {
mavenCentral()
}
compileGroovy {
groovyOptions.encoding = 'UTF-8'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
compileKotlin.kotlinOptions.jvmTarget = "1.8"
compileTestKotlin.kotlinOptions.jvmTarget = "1.8"
gradlePlugin {
plugins {
truststorebuilder {
id = 'de.chkpnt.truststorebuilder'
implementationClass = 'de.chkpnt.gradle.plugin.truststorebuilder.TrustStoreBuilderPlugin'
}
}
}
dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testImplementation localGroovy()
testImplementation gradleTestKit()
testImplementation 'commons-io:commons-io:2.15.1'
testImplementation 'com.google.jimfs:jimfs:1.3.0' // In-Memory Filesystem
testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0', {
exclude group: 'org.codehaus.groovy'
}
testImplementation 'org.hamcrest:hamcrest-all:1.3'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
}
test {
useJUnitPlatform()
}
wrapper {
gradleVersion = '8.4'
distributionType = 'all'
}