Skip to content

Commit

Permalink
Fix codegen compilation.
Browse files Browse the repository at this point in the history
- Fix ShadowJar configuration to properly update source code to point to relocated package
- Update Shadow plugin to 6.0.0
  • Loading branch information
Tolriq committed Sep 4, 2020
1 parent 032db2a commit 685c609
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kotlin/codegen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ plugins {
kotlin("jvm")
kotlin("kapt")
id("com.vanniktech.maven.publish")
id("com.github.johnrengelman.shadow") version "5.2.0"
id("com.github.johnrengelman.shadow") version "6.0.0"
}

tasks.withType<KotlinCompile>().configureEach {
Expand Down Expand Up @@ -109,3 +109,5 @@ afterEvaluate {
}
}
}

tasks.named("assemble") { dependsOn(tasks.named("shadowJar")) }

0 comments on commit 685c609

Please sign in to comment.