commit ac9d84ca829b81db07af60b8971febe8ba06c584
parent 0291cd42b29121380c6cdfc389629fa7817d2c7f
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 23 Sep 2019 17:12:22 +0200
fix javax.xml.bind import
Diffstat:
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/build.gradle b/build.gradle
@@ -17,7 +17,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile "io.ktor:ktor-server-netty:1.2.4"
compile "ch.qos.logback:logback-classic:1.2.3"
- compile "java.xml.bind:jaxb-api:2.2.4"
+ compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
@@ -28,18 +28,6 @@ compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
-compileJava {
- options.compilerArgs += ["--add-modules", "java.xml.bind"]
-}
-
-compileTestJava {
- options.compilerArgs += ["--add-modules", "java.xml.bind"]
-}
-
-test {
- jvmArgs += ["--add-modules", "java.xml.bind"]
-}
-
jar {
manifest {