MPP: implement IdePlatformKind, its resolution and tooling for K/N

This commit is contained in:
Dmitriy Dolovov
2018-09-03 20:08:41 +03:00
committed by Mikhail Glukhikh
parent b86afb0bab
commit 7623169130
23 changed files with 398 additions and 365 deletions
@@ -293,7 +293,7 @@ fun hasKotlinFilesInSources(module: Module): Boolean {
return FileTypeIndex.containsFileOfType(KotlinFileType.INSTANCE, module.getModuleScope(false))
}
private class LibraryKindSearchScope(
class LibraryKindSearchScope(
val module: Module,
val baseScope: GlobalSearchScope,
val libraryKind: PersistentLibraryKind<*>
@@ -33,7 +33,7 @@ import org.jetbrains.kotlin.idea.versions.findKotlinRuntimeLibrary
import java.io.File
import java.util.*
abstract class KotlinWithLibraryConfigurator internal constructor() : KotlinProjectConfigurator {
abstract class KotlinWithLibraryConfigurator protected constructor() : KotlinProjectConfigurator {
protected abstract val libraryName: String
protected abstract val messageForOverrideDialog: String