diff --git a/includedBuild/gradleConfiguration/src/main/kotlin/com/badoo/reaktive/configuration/MppConfigurationPlugin.kt b/includedBuild/gradleConfiguration/src/main/kotlin/com/badoo/reaktive/configuration/MppConfigurationPlugin.kt index 4833449d..8b379825 100644 --- a/includedBuild/gradleConfiguration/src/main/kotlin/com/badoo/reaktive/configuration/MppConfigurationPlugin.kt +++ b/includedBuild/gradleConfiguration/src/main/kotlin/com/badoo/reaktive/configuration/MppConfigurationPlugin.kt @@ -33,6 +33,14 @@ class MppConfigurationPlugin : Plugin { implementation(target.getLibrary("kotlin-test-annotations")) } } + + targets.configureEach { + compilations.configureEach { + compilerOptions.configure { + freeCompilerArgs.add("-Xexpect-actual-classes") + } + } + } } } diff --git a/reaktive/build.gradle b/reaktive/build.gradle index 80ee99fd..f5c77413 100644 --- a/reaktive/build.gradle +++ b/reaktive/build.gradle @@ -23,10 +23,4 @@ kotlin { } } } - - targets.configureEach { - compilations.configureEach { - compilerOptions.configure((Action) { it.freeCompilerArgs.add("-Xexpect-actual-classes") }) - } - } } diff --git a/utils-internal/build.gradle b/utils-internal/build.gradle index 62a0bafa..6f25caef 100644 --- a/utils-internal/build.gradle +++ b/utils-internal/build.gradle @@ -16,10 +16,4 @@ kotlin { } } } - - targets.configureEach { - compilations.configureEach { - compilerOptions.configure((Action) { it.freeCompilerArgs.add("-Xexpect-actual-classes") }) - } - } }