Skip to content

Commit

Permalink
Build: update shadow to 8.1.7
Browse files Browse the repository at this point in the history
Use new shadow fork, since original shadow development discontinued
see: GradleUp/shadow#908

^KTI-1456
  • Loading branch information
Badya committed Jun 20, 2024
1 parent f83f0e3 commit b20f3db
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 12 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kotlinx-serialization = "1.5.0"
# Version of the coroutines should be aligned with the oldest supported IntelliJ IDEA. Intellij IDEA uses 1.6 since 2022.3
# Check the version in this file: https://github.com/JetBrains/intellij-community/blob/cc37866d3827c51712f9856f5e580d405784d1ef/.idea/libraries/kotlinx_coroutines_core.xml
kotlinx-coroutines = "1.6.4"
shadow = "8.1.1" # Should be in sync with version in kotlin-native/
shadow = "8.1.7" # Should be in sync with version in kotlin-native/
spdx = "0.8.0-dev-14"
proguard = "7.4.2"
ktor = "2.3.7"
Expand Down Expand Up @@ -49,7 +49,7 @@ kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-c
kotlinx-coroutines-core-jvm = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm", version.ref = "kotlinx-coroutines" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
kotlinx-metadataJvm = { module = "org.jetbrains.kotlinx:kotlinx-metadata-jvm", version.ref = "kotlinx-metadataJvm" }
shadow-gradlePlugin = { module = "com.github.johnrengelman:shadow", version.ref = "shadow" }
shadow-gradlePlugin = { module = "io.github.goooler.shadow:shadow-gradle-plugin", version.ref = "shadow" }
spdx-gradlePlugin = { module = "org.spdx:spdx-gradle-plugin", version.ref = "spdx" }
proguard-gradlePlugin = { module = "com.guardsquare:proguard-gradle", version.ref = "proguard" }

Expand Down
66 changes: 66 additions & 0 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1917,6 +1917,12 @@
<sha256 value="b0a5159e926de8084ff066025142270443533656bc599b8bb31d14d11fd138a4" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.goooler.shadow" name="shadow-gradle-plugin" version="8.1.7">
<artifact name="shadow-gradle-plugin-8.1.7.jar">
<md5 value="d7e815f06b9450db167eb26783302920" origin="Generated by Gradle"/>
<sha256 value="8f2267ef1cbb65e55c45f972422fbc011cae68a02bb4d68d4011f66f7590eea5" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.grpc" name="grpc-api" version="1.39.0">
<artifact name="grpc-api-1.39.0.jar">
<md5 value="67d66d78ccd77947669d5fdd283110e8" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -2769,6 +2775,12 @@
<sha256 value="befbfc79e744e9892cfa7db96df3b6e82dc17d2571af42aa427976fc22299838" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.ant" name="ant" version="1.10.14">
<artifact name="ant-1.10.14.jar">
<md5 value="263e00d844d0e4efa54440ec5ed6362a" origin="Generated by Gradle"/>
<sha256 value="4cbbd9243de4c1042d61d9a15db4c43c90ff93b16d78b39481da1c956c8e9671" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.ant" name="ant" version="1.10.7">
<artifact name="ant-1.10.7.jar">
<md5 value="66386ce040556ca4836fe829d0f1b293" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -2823,6 +2835,12 @@
<sha256 value="cd7695b3bfb6964ab71b6a0b31dad60005ae77fe502132364679aacf08f77970" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.ant" name="ant-launcher" version="1.10.14">
<artifact name="ant-launcher-1.10.14.jar">
<md5 value="0e6c71b2f05383e1fb891e99f5267663" origin="Generated by Gradle"/>
<sha256 value="f0909725a7a24e393888f3fbb558347abf506ce2f7ebc581ff26331b94d951a5" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.ant" name="ant-launcher" version="1.10.7">
<artifact name="ant-launcher-1.10.7.jar">
<md5 value="68e4ba132f8168520087c3d89ca87b2a" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -3021,18 +3039,42 @@
<sha256 value="2f43eea679ea66f14ca0f13fec2a8600ac124f5a5231dcb4df8393eddcb97550" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.logging.log4j" name="log4j-api" version="2.23.0">
<artifact name="log4j-api-2.23.0.jar">
<md5 value="a548aa8b827a461842f7602384d36822" origin="Generated by Gradle"/>
<sha256 value="ff1a58a39df66d55534de744eb97225d4f7665482e73988a496681f5f2744938" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.logging.log4j" name="log4j-core" version="2.20.0">
<artifact name="log4j-core-2.20.0.jar">
<md5 value="20bd40d026d35a93fe710acb141e93da" origin="Generated by Gradle"/>
<sha256 value="6137df848cdaed9f4d5076f75513c6c85da80b953f4e7acca38098b770763f55" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.logging.log4j" name="log4j-core" version="2.23.0">
<artifact name="log4j-core-2.23.0.jar">
<md5 value="d771856ad69fd530e42778a4d18b2d32" origin="Generated by Gradle"/>
<sha256 value="0fef441ee938719f635db7ef21ad5b1ddf7d5bf8f5abf5eca8f29c3f432681db" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.maven" name="maven-ant-tasks" version="2.1.3">
<artifact name="maven-ant-tasks-2.1.3.jar">
<md5 value="7ce48382d1aa4138027a58ec2f29beda" origin="Generated by Gradle"/>
<sha256 value="f16b5ea711dfe0323454b880180aa832420ec039936e4aa75fb978748634808a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.maven" name="maven-api-meta" version="4.0.0-alpha-9">
<artifact name="maven-api-meta-4.0.0-alpha-9.jar">
<md5 value="a6ba88c6145aa21ed3360c633fb3746c" origin="Generated by Gradle"/>
<sha256 value="32c4f5cadbab680c34952f9cb570457a1383ccec4c9a57b0392607d7191c6949" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.maven" name="maven-api-xml" version="4.0.0-alpha-9">
<artifact name="maven-api-xml-4.0.0-alpha-9.jar">
<md5 value="3578da899bfa57dfb269b0ef04f6059d" origin="Generated by Gradle"/>
<sha256 value="29b2628d0f028119715916849c19eed45b32cdc67eb13551798c73afa4aa23d6" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.maven" name="maven-artifact" version="2.2.1">
<artifact name="maven-artifact-2.2.1.jar">
<md5 value="7b7613fd5db72967269abe7ab50b76e9" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -3219,6 +3261,12 @@
<sha256 value="2cd3d9d10e8486b29d46ef436dc96bbbfaf435a45dd328ccf955f5af969c8abe" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.maven" name="maven-xml-impl" version="4.0.0-alpha-9">
<artifact name="maven-xml-impl-4.0.0-alpha-9.jar">
<md5 value="2bf5500ff3f58cf1af9d7c2a2d96cfc8" origin="Generated by Gradle"/>
<sha256 value="26e702b881d57ae4ee88d02c00940ba64063705ee69205ae8958bf839a8b06b1" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.maven.resolver" name="maven-resolver-api" version="1.6.3">
<artifact name="maven-resolver-api-1.6.3.jar">
<md5 value="c1f8b0046b6219ef49dbd73638ce33e2" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -3705,6 +3753,18 @@
<sha256 value="86e0255d4c879c61b4833ed7f13124e8bb679df47debb127326e7db7dd49a07b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.codehaus.plexus" name="plexus-utils" version="4.0.0">
<artifact name="plexus-utils-4.0.0.jar">
<md5 value="16481d9d3af602d73a6355e79d2de889" origin="Generated by Gradle"/>
<sha256 value="270cd703b48c6e5c8c691f1875f22d62d22cfe072c73ae2f5814d83d68c1da0b" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.codehaus.plexus" name="plexus-xml" version="4.0.3">
<artifact name="plexus-xml-4.0.3.jar">
<md5 value="44298e1657e1255157891cb470361eef" origin="Generated by Gradle"/>
<sha256 value="7aa59e6fd693b8617c87276aeca9e7a149a10bda960788893b94d8a5470373f7" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.codehaus.woodstox" name="stax2-api" version="4.2">
<artifact name="stax2-api-4.2.jar">
<md5 value="5d22fe6dbb276d1fd6dab40c386a4f0a" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -5337,6 +5397,12 @@
<sha256 value="a5ac92d2362ccb3a509abe68e385ca809a7c96fcbaf851b3ee8bacb2ac899e2f" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.vafer" name="jdependency" version="2.10">
<artifact name="jdependency-2.10.jar">
<md5 value="c448369187e7e0dfbfb0e801646519b7" origin="Generated by Gradle"/>
<sha256 value="1dcd8355ab9ebced687715bf1252eb2aee5d0e74497a2014fd3387cfce8df85f" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.vafer" name="jdependency" version="2.8.0">
<artifact name="jdependency-2.8.0.jar">
<md5 value="c7bb2436eaa4cf7d9067dfc5c8250bf6" origin="Generated by Gradle"/>
Expand Down
2 changes: 1 addition & 1 deletion kotlin-native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildscript {
}

dependencies {
classpath 'com.github.johnrengelman:shadow:8.1.1'
classpath libs.shadow.gradlePlugin
}
}

Expand Down
4 changes: 2 additions & 2 deletions kotlin-native/performance/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dependencies {
val kotlinVersion = project.bootstrapKotlinVersion
val ktorVersion = "1.2.1"
val slackApiVersion = "1.2.0"
val shadowVersion = "8.1.1"
val shadowVersion = "8.1.7"
val metadataVersion = "0.0.1-dev-10"

implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
Expand All @@ -79,7 +79,7 @@ dependencies {

// Located in <repo root>/shared and always provided by the composite build.
//api("org.jetbrains.kotlin:kotlin-native-shared:$konanVersion")
implementation("com.github.johnrengelman:shadow:$shadowVersion")
implementation("io.github.goooler.shadow:shadow-gradle-plugin:$shadowVersion")

implementation("org.jetbrains.kotlinx:kotlinx-metadata-klib:$metadataVersion")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ dependencies {

// Located in <repo root>/shared and always provided by the composite build.
//api("org.jetbrains.kotlin:kotlin-native-shared:$konanVersion")
implementation("com.github.johnrengelman:shadow:$shadowVersion")
implementation("io.github.goooler.shadow:shadow-gradle-plugin:$shadowVersion")
implementation("org.jetbrains.kotlinx:kotlinx-metadata-klib:$metadataVersion")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ dependencies {
val kotlinVersion = project.bootstrapKotlinVersion
val ktorVersion = "1.2.1"
val slackApiVersion = "1.2.0"
val shadowVersion = "8.1.1"
val shadowVersion = "8.1.7"
val metadataVersion = "0.0.1-dev-10"

implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
Expand All @@ -85,6 +85,6 @@ dependencies {

// Located in <repo root>/shared and always provided by the composite build.
//api("org.jetbrains.kotlin:kotlin-native-shared:$konanVersion")
implementation("com.github.johnrengelman:shadow:$shadowVersion")
implementation("io.github.goooler.shadow:shadow-gradle-plugin:$shadowVersion")
implementation("org.jetbrains.kotlinx:kotlinx-metadata-klib:$metadataVersion")
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies {
val kotlinVersion = project.bootstrapKotlinVersion
val ktorVersion = "1.2.1"
val slackApiVersion = "1.2.0"
val shadowVersion = "8.1.1"
val shadowVersion = "8.1.7"
val metadataVersion = "0.0.1-dev-10"

implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
Expand All @@ -84,6 +84,6 @@ dependencies {

// Located in <repo root>/shared and always provided by the composite build.
//api("org.jetbrains.kotlin:kotlin-native-shared:$konanVersion")
implementation("com.github.johnrengelman:shadow:$shadowVersion")
implementation("io.github.goooler.shadow:shadow-gradle-plugin:$shadowVersion")
implementation("org.jetbrains.kotlinx:kotlinx-metadata-klib:$metadataVersion")
}
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class MppJvmWithJavaIT : KGPBaseTest() {
| maven { url 'https://plugins.gradle.org/m2/' }
| }
| dependencies {
| classpath 'com.github.johnrengelman:shadow:${TestVersions.ThirdPartyDependencies.SHADOW_PLUGIN_VERSION}'
| classpath 'io.github.goooler.shadow:shadow-gradle-plugin:${TestVersions.ThirdPartyDependencies.SHADOW_PLUGIN_VERSION}'
| }
|}
|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ interface TestVersions {
}

object ThirdPartyDependencies {
const val SHADOW_PLUGIN_VERSION = "8.1.1"
const val SHADOW_PLUGIN_VERSION = "8.1.7"
const val GOOGLE_DAGGER = "2.24"
const val GRADLE_ENTERPRISE_PLUGIN_VERSION = "3.13.4"
const val KOTLINX_ATOMICFU = "0.23.2"
Expand Down

0 comments on commit b20f3db

Please sign in to comment.