Skip to content

Commit

Permalink
build: -Xjvm-default=all-compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Mar 19, 2024
1 parent ad890e4 commit a8f8a29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/cmdpipe.api
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ public abstract interface class space/iseki/cmdpipe/Cmdline {
public abstract fun handleStderr (Lkotlin/jvm/functions/Function1;)Lspace/iseki/cmdpipe/Cmdline;
public abstract fun handleStdin (Lkotlin/jvm/functions/Function1;)Lspace/iseki/cmdpipe/Cmdline;
public abstract fun handleStdout (Lkotlin/jvm/functions/Function1;)Lspace/iseki/cmdpipe/Cmdline;
public abstract fun inheritIO ()Lspace/iseki/cmdpipe/Cmdline;
public fun inheritIO ()Lspace/iseki/cmdpipe/Cmdline;
public abstract fun inheritIO (Z)Lspace/iseki/cmdpipe/Cmdline;
public static fun of (Ljava/util/Collection;)Lspace/iseki/cmdpipe/Cmdline;
public static fun of ([Ljava/lang/String;)Lspace/iseki/cmdpipe/Cmdline;
public abstract fun withCmdline (Ljava/util/Collection;)Lspace/iseki/cmdpipe/Cmdline;
public abstract fun withCmdline ([Ljava/lang/String;)Lspace/iseki/cmdpipe/Cmdline;
public fun withCmdline ([Ljava/lang/String;)Lspace/iseki/cmdpipe/Cmdline;
public abstract fun withEnvironment ([Lkotlin/Pair;)Lspace/iseki/cmdpipe/Cmdline;
public abstract fun withExecutor (Ljava/util/concurrent/Executor;)Lspace/iseki/cmdpipe/Cmdline;
public abstract fun withTimeout (J)Lspace/iseki/cmdpipe/Cmdline;
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.freeCompilerArgs += "-Xcontext-receivers"
kotlinOptions.freeCompilerArgs += "-Xassertions=jvm"
kotlinOptions.freeCompilerArgs += "-Xlambdas=indy"
kotlinOptions.freeCompilerArgs += "-Xjvm-default=all-compatibility"
kotlinOptions.jvmTarget = "17"
kotlinJavaToolchain.toolchain.use(javaToolchains.launcherFor { configure() })
}
Expand Down

0 comments on commit a8f8a29

Please sign in to comment.