Skip to content

Commit

Permalink
Add flag for experimental expect/actual classes
Browse files Browse the repository at this point in the history
  • Loading branch information
MSDarwish2000 committed Dec 19, 2023
1 parent 2b6c529 commit 48604db
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ plugins {
alias(libs.plugins.mavenPublish) apply false
}

subprojects {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask::class.java) {
compilerOptions {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
}
}

allprojects {
repositories {
mavenCentral()
Expand Down Expand Up @@ -70,4 +78,4 @@ allprojects {
tasks.withType<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>().configureEach {
moduleName.set("Kache")
outputDirectory.set(file("$rootDir/docs/api"))
}
}

0 comments on commit 48604db

Please sign in to comment.