Skip to content

Conversation

@eleftherias
Copy link
Contributor

Closes gh-9811

@eleftherias
Copy link
Contributor Author

As of Kotlin 1.4, the Kotlin plugin adds the stdlib dependency by default.
In order to prevent that dependency from being added automatically (since it is optional in Spring Security) we can set kotlin.stdlib.default.dependency to false.
https://kotlinlang.org/docs/gradle.html#dependency-on-the-standard-library

@eleftherias eleftherias added in: build An issue in the build status: duplicate A duplicate of another issue type: bug A general bug labels Jun 3, 2021
@eleftherias eleftherias self-assigned this Jun 3, 2021
@eleftherias eleftherias merged commit 20751d2 into spring-projects:main Jun 3, 2021
@eleftherias eleftherias deleted the gh-9811-kotlin-dependency branch June 3, 2021 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: build An issue in the build status: duplicate A duplicate of another issue type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spring-security-config kotlin-stdlib-jdk8 dependency isn't optional

1 participant