Skip to content

Commit

Permalink
Add Shadow plugin
Browse files Browse the repository at this point in the history
... to avoid overwriting in Validation, and other subprojects in the future.
  • Loading branch information
alexander-yevsyukov committed Nov 5, 2023
1 parent 1fe7a4b commit e2d27c3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ val kotestJvmPluginVersion = "0.4.10"
*/
val koverVersion = "0.7.2"

/**
* The version of the Shadow Plugin.
*
* `7.1.2` is the last version compatible with Gradle 7.x. Newer versions require Gradle v8.x.
*
* @see <a href="https://github.com/johnrengelman/shadow/releases">Shadow Plugin releases</a>
*/
val shadowVersion = "7.1.2"

configurations.all {
resolutionStrategy {
force(
Expand Down Expand Up @@ -180,6 +189,7 @@ dependencies {
implementation("com.google.protobuf:protobuf-gradle-plugin:$protobufPluginVersion")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:${dokkaVersion}")
implementation("org.jetbrains.dokka:dokka-base:${dokkaVersion}")
implementation("gradle.plugin.com.github.johnrengelman:shadow:${shadowVersion}")

// https://github.com/srikanth-lingala/zip4j
implementation("net.lingala.zip4j:zip4j:2.10.0")
Expand Down

0 comments on commit e2d27c3

Please sign in to comment.