Skip to content

Set JVM target to 1.8 for improved compatibility - #11

Merged
tiper merged 1 commit into
mainfrom
bugfix/jvmTarget
Apr 17, 2026
Merged

Set JVM target to 1.8 for improved compatibility#11
tiper merged 1 commit into
mainfrom
bugfix/jvmTarget

Conversation

@tiper

@tiper tiper commented Apr 17, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 17, 2026 10:45
@tiper tiper self-assigned this Apr 17, 2026
@tiper
tiper enabled auto-merge (squash) April 17, 2026 10:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Kotlin Multiplatform plugin module’s build configuration to explicitly compile JVM/Android bytecode for Java 8 (1.8), improving runtime compatibility with older JVM environments.

Changes:

  • Bump plugin version from 3.1.0 to 3.1.1.
  • Configure Kotlin jvm target to compile with jvmTarget = 1.8.
Comments suppressed due to low confidence (1)

plugin/build.gradle.kts:30

  • Same as above: @Suppress("OPT_IN_USAGE") is a broad suppression. Consider opting in to the specific experimental Kotlin Gradle API instead (ideally once at file level) to keep other opt-in warnings visible and avoid repeating suppression blocks.
    androidTarget {
        publishLibraryVariants("release")
        @Suppress("OPT_IN_USAGE")
        compilerOptions {
            jvmTarget.set(JVM_1_8)
        }

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread plugin/build.gradle.kts
@tiper
tiper merged commit ecdfb78 into main Apr 17, 2026
7 checks passed
@tiper
tiper deleted the bugfix/jvmTarget branch April 17, 2026 10:56
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