1 Answer Sorted by: 4 You can achieve this by adding below plugin to your build.gradle apply plugin: 'com.github.johnrengelman.shadow' After adding this plugin add below code to your build.gradle file shadowJar { relocate 'com.myCompany.project.event', 'com.myCompany.relocated.project.event' } WebSep 20, 2024 · tasks.shadowJar { archiveClassifier.set ("all-dev") configurations = listOf (shadowImpl) doLast { configurations.forEach { println ("Config: $ {it.files}") } } // If you …
Gradle - Plugins
WebJun 21, 2024 · Relocate Exclude doesn't exclude all relocates #305 Open furrowb opened this issue on Jun 21, 2024 · 3 comments furrowb commented on Jun 21, 2024 • edited mentioned this issue sonatype-nexus-community/scan-gradle-plugin#91 Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment WebSep 13, 2016 · so in project b, a.shadowJar is pulled in as a compile dependency and Gradle resolves the dependency graph for that jar, which includes bar as a "runtime" … meme music spotify
Gradle - Plugins
WebDownload ZIP the example script to shadow and relocate kotlin for ForgeGradle Raw shadowing-and-relocating.gradle.kts import com.anatawa12.javaStabGen.gradle.GenerateJavaStab import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar plugins { kotlin ( "jvm") … WebMar 20, 2024 · Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin. Other versions Kotlin Groovy Using the plugins … WebApr 26, 2024 · Version 7.0.0. Created 26 April 2024. Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin. Other versions. meme music what