Skip to content

Conversation

@runningcode
Copy link
Contributor

Summary

  • Migrates all build.gradle.kts files from the deprecated kotlinOptions block to the new kotlin.compilerOptions DSL
  • Adds necessary imports for JvmTarget and KotlinVersion enums
  • Removes resolved TODO comment in gradle-plugin/settings.gradle.kts

This change aligns with Kotlin Gradle Plugin best practices and prepares the codebase for Kotlin 2.3.0.

🤖 Generated with Claude Code

Migrate all build.gradle.kts files from the deprecated kotlinOptions
block to the new kotlin.compilerOptions DSL introduced in Kotlin 2.0.
This aligns with current Kotlin Gradle Plugin best practices.

Changes:
- Replace kotlinOptions.jvmTarget with kotlin.compilerOptions.jvmTarget
- Replace kotlinOptions.languageVersion with kotlin.compilerOptions.languageVersion
- Add necessary imports (JvmTarget, KotlinVersion)
- Remove TODO comment in gradle-plugin/settings.gradle.kts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
sourceSets.getByName("main").resources.srcDir(metaInfResDir)
}

kotlin.compilerOptions.jvmTarget = JvmTarget.JVM_11
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a functional change, I bumped it to 11 from 8. 8 is deprecated anyways.

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.

2 participants