-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle.kts
59 lines (52 loc) · 1.77 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
58
59
plugins {
`kotlin-dsl`
id("java-gradle-plugin")
id("com.gradle.plugin-publish") version "1.2.0"
}
group = "com.github.bjornvester"
version = "2.0.2"
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}
// The integration test folder is an input to the unit test in the root project
// Register these files as inputs
tasks.withType<Test>().configureEach {
inputs
.files(layout.projectDirectory.dir("integration-test").asFileTree.matching {
exclude("**/build/**")
exclude("**/gradle/**")
})
.withPathSensitivity(PathSensitivity.RELATIVE)
useJUnitPlatform()
systemProperty("GRADLE_ROOT_FOLDER", projectDir.absolutePath)
systemProperty("GRADLE_PLUGIN_VERSION", version)
}
tasks.withType<Wrapper> {
gradleVersion = "latest"
}
dependencies {
compileOnly("org.apache.cxf:cxf-tools-wsdlto-core:4.0.2")
testImplementation("commons-io:commons-io:2.13.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
gradlePlugin {
website.set("https://github.com/bjornvester/wsdl2java-gradle-plugin")
vcsUrl.set("https://github.com/bjornvester/wsdl2java-gradle-plugin")
plugins {
create("wsdl2JavaPlugin") {
id = "com.github.bjornvester.wsdl2java"
displayName = "Gradle Wsdl2Java plugin"
tags.set(listOf("wsdl2java", "cxf", "wsimport"))
implementationClass = "com.github.bjornvester.wsdl2java.Wsdl2JavaPlugin"
description = "Changes:\n" +
" - Fixed missing task dependency on wsdl2java from sourcesJar"
}
}
}