-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle.kts
51 lines (44 loc) · 1.38 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 {
`kotlin-dsl`
id("java-gradle-plugin")
id("com.gradle.plugin-publish") version "1.2.0"
}
group = "com.github.bjornvester"
version = "1.8.1"
repositories {
mavenCentral()
}
dependencies {
compileOnly("org.glassfish.jaxb:jaxb-xjc:2.3.8")
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")
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
systemProperty("GRADLE_ROOT_FOLDER", projectDir.absolutePath)
systemProperty("GRADLE_PLUGIN_VERSION", version)
}
tasks.withType<Wrapper> {
gradleVersion = "latest"
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}
gradlePlugin {
website.set("https://github.com/bjornvester/xjc-gradle-plugin")
vcsUrl.set("https://github.com/bjornvester/xjc-gradle-plugin")
plugins {
create("xjcPlugin") {
id = "com.github.bjornvester.xjc"
implementationClass = "com.github.bjornvester.xjc.XjcPlugin"
displayName = "Gradle XJC plugin"
tags.set(listOf("xjc", "jaxb", "xsd"))
description = """Changes:
|- Fixed another issue with custom location of binding files.""".trimMargin()
}
}
}