nilsmagnus / wsdl2java

Gradle plugin for generating java source from wsdl files
MIT License
143 stars 77 forks source link

Add Java 9+ dependencies to implementation configuration instead of compile #108

Open legart opened 4 years ago

legart commented 4 years ago

Compile configuration has been discouraged since Gradle 3.4.

https://docs.gradle.org/6.3/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations

twogood commented 4 years ago

My workaround in build.gradle.kts until this is merged:

buildscript {
    dependencies {
        // Make wsdl2java work until https://github.com/nilsmagnus/wsdl2java/pull/108 is merged
        classpath("javax.xml.bind:jaxb-api:2.3.1")
        classpath("javax.xml.ws:jaxws-api:2.3.1")
        classpath("org.glassfish.jaxb:jaxb-runtime:2.3.2")
        classpath("org.glassfish.main.javaee-api:javax.jws:3.1.2.2")
        classpath("com.sun.xml.messaging.saaj:saaj-impl:1.5.1")
    }
}
shalugin commented 3 years ago

@nilsmagnus Is there some security issues?