diff --git a/coil3/build.gradle.kts b/coil3/build.gradle.kts index b844d482..03d5e20f 100644 --- a/coil3/build.gradle.kts +++ b/coil3/build.gradle.kts @@ -63,6 +63,15 @@ kotlin { } } } + + targets.configureEach { + compilations.configureEach { + compilerOptions.configure { + // https://youtrack.jetbrains.com/issue/KT-61573 + freeCompilerArgs.add("-Xexpect-actual-classes") + } + } + } } android { diff --git a/landscapist-animation/build.gradle.kts b/landscapist-animation/build.gradle.kts index c02277fe..2547c852 100644 --- a/landscapist-animation/build.gradle.kts +++ b/landscapist-animation/build.gradle.kts @@ -58,6 +58,15 @@ kotlin { } } } + + targets.configureEach { + compilations.configureEach { + compilerOptions.configure { + // https://youtrack.jetbrains.com/issue/KT-61573 + freeCompilerArgs.add("-Xexpect-actual-classes") + } + } + } } android { diff --git a/landscapist-palette/build.gradle.kts b/landscapist-palette/build.gradle.kts index 6be7ccc8..a8c3a1b9 100644 --- a/landscapist-palette/build.gradle.kts +++ b/landscapist-palette/build.gradle.kts @@ -53,6 +53,15 @@ kotlin { } } } + + targets.configureEach { + compilations.configureEach { + compilerOptions.configure { + // https://youtrack.jetbrains.com/issue/KT-61573 + freeCompilerArgs.add("-Xexpect-actual-classes") + } + } + } } android { diff --git a/landscapist-placeholder/build.gradle.kts b/landscapist-placeholder/build.gradle.kts index 91226168..7d255547 100644 --- a/landscapist-placeholder/build.gradle.kts +++ b/landscapist-placeholder/build.gradle.kts @@ -58,6 +58,15 @@ kotlin { } } } + + targets.configureEach { + compilations.configureEach { + compilerOptions.configure { + // https://youtrack.jetbrains.com/issue/KT-61573 + freeCompilerArgs.add("-Xexpect-actual-classes") + } + } + } } android {