Search Gradle plugins

com.palantir.jakarta-package-alignment

Ensure Jakarta EE dependencies are at versions with the 'jakarta' namespace, or force them back to Java EE dependencies with the 'javax' namespace

https://github.com/palantir/jakarta-package-alignment

Sources: https://github.com/palantir/jakarta-package-alignment

Version 0.6.0 (latest)

Created 30 October 2023.

Ensure Jakarta EE dependencies are at versions with the 'jakarta' namespace, or force them back to Java EE dependencies with the 'javax' namespace

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.palantir.jakarta-package-alignment") version "0.6.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.palantir.jakarta-package-alignment:com.palantir.jakarta-package-alignment.gradle.plugin:0.6.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.palantir.jakarta-package-alignment")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.palantir.jakarta-package-alignment:com.palantir.jakarta-package-alignment.gradle.plugin:0.6.0")
      }
    }
    
    apply(plugin = "com.palantir.jakarta-package-alignment")
  • Applying plugins to all subprojects .