Skip to content

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Jan 31, 2025

https://kotlinlang.org/docs/gradle.html#dependency-on-the-standard-library

Run diff gcpbuildcache-1.0.0.module.before gcpbuildcache-1.0.0.module.after:

28,36d27
<       "dependencies": [
<         {
<           "group": "org.jetbrains.kotlin",
<           "module": "kotlin-stdlib",
<           "version": {
<             "requires": "2.0.21"
<           }
<         }
<       ],
109,115d99
<         },
<         {
<           "group": "org.jetbrains.kotlin",
<           "module": "kotlin-stdlib",
<           "version": {
<             "requires": "2.0.21"
<           }

@Goooler
Copy link
Contributor Author

Goooler commented Jan 31, 2025

kotlin.compilerOptions.apiVersion should also be constrainted, like https://github.com/GradleUp/shadow/blob/d64ef3787ca0298addd7cb4dbd4beb49814b2bee/build.gradle.kts#L23-L24

https://kotlinlang.org/docs/gradle.html#dependency-on-the-standard-library

Run ` diff gcpbuildcache-1.0.0.module.before gcpbuildcache-1.0.0.module.after`:

```diff
28,36d27
<       "dependencies": [
<         {
<           "group": "org.jetbrains.kotlin",
<           "module": "kotlin-stdlib",
<           "version": {
<             "requires": "2.0.21"
<           }
<         }
<       ],
109,115d99
<         },
<         {
<           "group": "org.jetbrains.kotlin",
<           "module": "kotlin-stdlib",
<           "version": {
<             "requires": "2.0.21"
<           }
```
@trietbui85
Copy link

Is there any blocker to merge this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kotlin stdlib does not match Gradle's embedded Kotlin version
2 participants