Skip to content

Commit

Permalink
add expect actual kt warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjenx committed Oct 21, 2024
1 parent 1227b53 commit 00291c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.vanniktech.maven.publish.MavenPublishPlugin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
alias(libs.plugins.multiplatform).apply(false)
Expand Down Expand Up @@ -31,6 +32,9 @@ subprojects {
}
}
}
tasks.withType<KotlinCompile>().configureEach {
compilerOptions.freeCompilerArgs.add("-Xexpect-actual-classes")
}
}

tasks.register("version") {
Expand Down

0 comments on commit 00291c7

Please sign in to comment.