[Gradle] Remove unused KotlinTargetConfigurator.configurePlatformSpecificModel
KT-61634
This commit is contained in:
committed by
Space Team
parent
b347ff2c53
commit
5506384cc9
-6
@@ -36,18 +36,12 @@ interface KotlinTargetConfigurator<KotlinTargetType : KotlinTarget> {
|
||||
) {
|
||||
target.runKotlinCompilationSideEffects()
|
||||
target.runKotlinTargetSideEffects()
|
||||
configurePlatformSpecificModel(target)
|
||||
}
|
||||
|
||||
fun configurePlatformSpecificModel(target: KotlinTargetType) = Unit
|
||||
}
|
||||
|
||||
abstract class AbstractKotlinTargetConfigurator<KotlinTargetType : KotlinTarget>(
|
||||
internal val createTestCompilation: Boolean,
|
||||
) : KotlinTargetConfigurator<KotlinTargetType> {
|
||||
|
||||
protected open val runtimeIncludesCompilationOutputs = true
|
||||
|
||||
companion object {
|
||||
const val testTaskNameSuffix = "test"
|
||||
const val runTaskNameSuffix = "run"
|
||||
|
||||
-3
@@ -14,9 +14,6 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
|
||||
open class KotlinJsIrTargetConfigurator :
|
||||
KotlinOnlyTargetConfigurator<KotlinJsIrCompilation, KotlinJsIrTarget>(true) {
|
||||
|
||||
override val runtimeIncludesCompilationOutputs: Boolean = false
|
||||
|
||||
|
||||
internal companion object {
|
||||
internal fun KotlinJsCompilerOptions.configureJsDefaultOptions(
|
||||
platformType: KotlinPlatformType,
|
||||
|
||||
Reference in New Issue
Block a user