Search Gradle plugins

Version 2.0.0-rc-3

Created 18 January 2025.

This Gradle plugin creates a fat JAR for your Java application by bundling and relocating specified dependencies. It helps to prevent dependency conflicts and ensures consistent application behavior by isolating these dependencies from downstream projects.

Add this plugin to your build using the plugins DSL:

plugins {
  id("name.remal.classes-relocation") version "2.0.0-rc-3"
}

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("name.remal.classes-relocation:name.remal.classes-relocation.gradle.plugin:2.0.0-rc-3")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("name.remal.classes-relocation")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("name.remal.classes-relocation:name.remal.classes-relocation.gradle.plugin:2.0.0-rc-3")
      }
    }
    
    apply(plugin = "name.remal.classes-relocation")
  • Applying plugins to all subprojects .