Skip to content

Conversation

@notjuanortiz
Copy link
Contributor

Thank you for contributing to the Luna project!

Proposed changes

It's been years since we've done any large dependency upgrades so I figured we at least get access to some newer Java features.
Gradle also gets a big upgrade (v8.13) and so does Kotlin (v2.1.20)

Pull Request type

What types of changes does your code introduce to Luna?
Put an x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • Unit tests pass locally, after applying my changes
  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have added necessary documentation
  • Any dependent changes have been merged and published in downstream modules

Further comments

Gradle version(5.6x -> 8.13)
Kotlin version (1.4x -> 2.1.20)
Java version (11 -> 23)
This was needed for the kotlin upgrade.
@notjuanortiz notjuanortiz changed the title Upgrade to Gradle 8.13 & Java 23 [WIP] Upgrade to Gradle 8.13 & Java 23 Apr 19, 2025
Plugins are being loaded from the source root now 'src/kotlin' so this isn't needed anymore.
With Kotlin 1.9, scripts will no longer load from the source root,so I'm enabling the old behavior to save us time from having to move the plugin directory again.
@notjuanortiz notjuanortiz changed the title [WIP] Upgrade to Gradle 8.13 & Java 23 Upgrade to Gradle 8.13 & Java 23 Apr 19, 2025
@notjuanortiz notjuanortiz marked this pull request as draft April 19, 2025 21:53
@notjuanortiz
Copy link
Contributor Author

Kotlin scripts located inside the source root (/src/main/kotlin) are no longer supported by IntelliJ. I haven't come up with a solution for that issue yet but this branch is still works as is.

More info: https://youtrack.jetbrains.com/issue/KT-52735

@notjuanortiz notjuanortiz marked this pull request as ready for review April 25, 2025 20:54
@notjuanortiz notjuanortiz changed the title Upgrade to Gradle 8.13 & Java 23 Upgrade to Gradle 8.13 & Java 21 (LTS) Jun 2, 2025
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.

1 participant