Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fat jar for gradle plugin #1794

Merged
merged 14 commits into from
Nov 15, 2023
Prev Previous commit
Next Next commit
added comments to relocated modules
nulls committed Nov 14, 2023
commit b312573f5638913c5eb37a9aed3a647081dc0948
2 changes: 2 additions & 0 deletions diktat-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -44,7 +44,9 @@ tasks.withType<KotlinCompile> {
tasks.named<ShadowJar>("shadowJar") {
archiveClassifier.set("")
duplicatesStrategy = DuplicatesStrategy.FAIL
// serialization
relocate("kotlinx", "shadow.kotlinx")
// all kotlin libs
relocate("org.jetbrains", "shadow.org.jetbrains")
}