Skip to content

Commit

Permalink
Moved -Xexpect-actual-classes to MppConfigurationPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivanov committed Nov 3, 2023
1 parent 2f38120 commit 5bc371f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ class MppConfigurationPlugin : Plugin<Project> {
implementation(target.getLibrary("kotlin-test-annotations"))
}
}

targets.configureEach {
compilations.configureEach {
compilerOptions.configure {
freeCompilerArgs.add("-Xexpect-actual-classes")
}
}
}
}
}

Expand Down
6 changes: 0 additions & 6 deletions reaktive/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,4 @@ kotlin {
}
}
}

targets.configureEach {
compilations.configureEach {
compilerOptions.configure((Action) { it.freeCompilerArgs.add("-Xexpect-actual-classes") })
}
}
}
6 changes: 0 additions & 6 deletions utils-internal/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,4 @@ kotlin {
}
}
}

targets.configureEach {
compilations.configureEach {
compilerOptions.configure((Action) { it.freeCompilerArgs.add("-Xexpect-actual-classes") })
}
}
}

0 comments on commit 5bc371f

Please sign in to comment.