Build: pass -Xexpect-actual-classes to some libraries compile tasks
To suppress the warning introduced in KT-61573.
This commit is contained in:
committed by
Space Team
parent
d9da3973bb
commit
909f32ed54
@@ -79,7 +79,8 @@ kotlin {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = listOf(
|
||||
"-Xallow-kotlin-package",
|
||||
"-module-name", "kotlin-stdlib-common"
|
||||
"-module-name", "kotlin-stdlib-common",
|
||||
"-Xexpect-actual-classes",
|
||||
)
|
||||
}
|
||||
// workaround for compiling legacy MPP metadata, remove when this compilation is not needed anymore
|
||||
@@ -201,6 +202,7 @@ kotlin {
|
||||
freeCompilerArgs += listOf(
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xforce-deprecated-legacy-compiler-usage",
|
||||
"-Xexpect-actual-classes",
|
||||
)
|
||||
}
|
||||
compileTaskProvider.configure {
|
||||
|
||||
Reference in New Issue
Block a user