Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't include org.jetbrains.kotlin:kotlin-stdlib-jdk8 as a dependency in Gradle projects at the Kotlin Gradle plugin adds the dependency automatically #1376

Closed
wants to merge 1 commit into from

Conversation

KotlinIsland
Copy link
Contributor

@KotlinIsland KotlinIsland commented Feb 22, 2023

This is legacy and Kotlin handles this automatically for Gradle builds.

https://kotlinlang.org/docs/whatsnew14.html#dependency-on-the-standard-library-added-by-default

@pivotal-cla
Copy link

@KotlinIsland Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@KotlinIsland Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 22, 2023
@philwebb philwebb changed the title (🎁) Don't include kotlin stdlib for gradle builds Don't include org.jetbrains.kotlin:kotlin-stdlib-jdk8 as a dependency Feb 22, 2023
@wilkinsona
Copy link
Contributor

Thanks for the proposal, @KotlinIsland. Rather than making the addition conditional on the build's type, I think it would be better to move it into the Maven-specific customiser, KotlinMavenBuildCustomizer. Would you like to update your PR to do that?

@wilkinsona wilkinsona added the status: waiting-for-feedback We need additional information before we can continue label Feb 23, 2023
@KotlinIsland
Copy link
Contributor Author

Sure. Thanks for the review

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Feb 23, 2023
@KotlinIsland KotlinIsland force-pushed the no_kotlin_stdlib branch 5 times, most recently from 4fc1f71 to b7beed1 Compare February 24, 2023 03:48
@wilkinsona wilkinsona changed the title Don't include org.jetbrains.kotlin:kotlin-stdlib-jdk8 as a dependency Don't include org.jetbrains.kotlin:kotlin-stdlib-jdk8 as a dependency in Gradle projects at the Kotlin Gradle plugin adds the dependency automatically Feb 27, 2023
@wilkinsona wilkinsona added type: enhancement and removed status: feedback-provided Feedback has been provided status: waiting-for-triage An issue we've not yet triaged labels Feb 27, 2023
@wilkinsona wilkinsona added this to the 0.20.0 milestone Feb 27, 2023
wilkinsona pushed a commit that referenced this pull request Feb 27, 2023
@wilkinsona
Copy link
Contributor

Thanks very much, @KotlinIsland.

@KotlinIsland KotlinIsland deleted the no_kotlin_stdlib branch February 27, 2023 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants