Search Gradle plugins

Version 2.0

Created 14 June 2023.

Changes: - Added support for using the jakarta namespace, which is now the default. The older javax namespace can be enabled with a configuration change. - Added support for the Gradle configuration cache. - The Wsdl2Java task now runs with the configured, or default, Java Toolchain. - Minimum required of version of Gradle is now 6.7 (up from 6.0). - The configurations for marking generated code has changed to support a third variant of the Generated annotation. See the README for details.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.github.bjornvester.wsdl2java") version "2.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.github.bjornvester.wsdl2java:com.github.bjornvester.wsdl2java.gradle.plugin:2.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.github.bjornvester.wsdl2java")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.github.bjornvester.wsdl2java:com.github.bjornvester.wsdl2java.gradle.plugin:2.0")
      }
    }
    
    apply(plugin = "com.github.bjornvester.wsdl2java")
  • Applying plugins to all subprojects .