Fix: Rebuild common or native module with Delegate to gradle does nothing
Issues #KT-27295:fixed, #KT-27296:fixed
Original commit: af4c2b8030
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
* that can be found in the license/LICENSE.txt file.
|
* that can be found in the license/LICENSE.txt file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@file:JvmName("NativeIdePlatformUtil")
|
||||||
package org.jetbrains.kotlin.platform.impl
|
package org.jetbrains.kotlin.platform.impl
|
||||||
|
|
||||||
import org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
|
import org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
|
||||||
@@ -37,3 +38,8 @@ object NativeIdePlatformKind : IdePlatformKind<NativeIdePlatformKind>() {
|
|||||||
// These are fake compiler arguments for Kotlin/Native - only for usage within IDEA plugin:
|
// These are fake compiler arguments for Kotlin/Native - only for usage within IDEA plugin:
|
||||||
class FakeK2NativeCompilerArguments : CommonCompilerArguments()
|
class FakeK2NativeCompilerArguments : CommonCompilerArguments()
|
||||||
|
|
||||||
|
val IdePlatformKind<*>?.isKotlinNative
|
||||||
|
get() = this is NativeIdePlatformKind
|
||||||
|
|
||||||
|
val IdePlatform<*, *>?.isKotlinNative
|
||||||
|
get() = this is NativeIdePlatformKind.Platform
|
||||||
|
|||||||
Reference in New Issue
Block a user