Skip to content

Migrate -Xjvm-default to -jvm-default #1466

@koperagen

Description

@koperagen

First option will be deprecated soon
https://kotlinlang.org/docs/compiler-reference.html#jvm-default-mode

tasks.withType<KotlinCompile> {
    compilerOptions {
        freeCompilerArgs.addAll("-jvm-default=no-compatibility")
    }
}

Metadata

Metadata

Assignees

Labels

infrastructureGitHub actions, Gradle Scripts, Writerside, etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions