mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
KTIJ-30548 Add check if the context module is common
even is the targeted platform is not. The module could be a multiplatform module common by different tests even if the targeted platform is not common. closes https://github.com/JetBrains/intellij-community/pull/2815 GitOrigin-RevId: affff2a7de6f5957ba6f45c7716a0a3395850eeb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0c71253275
commit
d9ff8a46da
@@ -38,7 +38,7 @@ class KotlinMultiplatformAllInDirectoryConfigurationProducer
|
||||
}
|
||||
|
||||
val module = context.module ?: return null
|
||||
if (module.platform.isCommon()) {
|
||||
if (module.platform.isCommon() || module.isMultiPlatformModule) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class KotlinMultiplatformAllInPackageConfigurationProducer: AllInPackageGradleCo
|
||||
}
|
||||
|
||||
val module = context.module ?: return null
|
||||
if (module.platform.isCommon()) {
|
||||
if (module.platform.isCommon() || module.isMultiPlatformModule) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user