[Gradle] Remove defaultConfiguration from ExternalKotlinTargetImpl
^KT-55201 Verification Pending
This commit is contained in:
committed by
Space Team
parent
67a511544c
commit
b96e5a2a93
-1
@@ -27,7 +27,6 @@ internal class ExternalKotlinTargetImpl internal constructor(
|
|||||||
override val targetName: String,
|
override val targetName: String,
|
||||||
override val platformType: KotlinPlatformType,
|
override val platformType: KotlinPlatformType,
|
||||||
override val publishable: Boolean,
|
override val publishable: Boolean,
|
||||||
val defaultConfiguration: Configuration,
|
|
||||||
val apiElementsConfiguration: Configuration,
|
val apiElementsConfiguration: Configuration,
|
||||||
val runtimeElementsConfiguration: Configuration,
|
val runtimeElementsConfiguration: Configuration,
|
||||||
val sourcesElementsConfiguration: Configuration,
|
val sourcesElementsConfiguration: Configuration,
|
||||||
|
|||||||
-2
@@ -34,7 +34,6 @@ import org.jetbrains.kotlin.gradle.utils.named
|
|||||||
fun <T : DecoratedExternalKotlinTarget> KotlinMultiplatformExtension.createExternalKotlinTarget(
|
fun <T : DecoratedExternalKotlinTarget> KotlinMultiplatformExtension.createExternalKotlinTarget(
|
||||||
descriptor: ExternalKotlinTargetDescriptor<T>
|
descriptor: ExternalKotlinTargetDescriptor<T>
|
||||||
): T {
|
): T {
|
||||||
val defaultConfiguration = project.configurations.maybeCreate(lowerCamelCaseName(descriptor.targetName, "default"))
|
|
||||||
val apiElementsConfiguration = project.configurations.maybeCreate(lowerCamelCaseName(descriptor.targetName, "apiElements"))
|
val apiElementsConfiguration = project.configurations.maybeCreate(lowerCamelCaseName(descriptor.targetName, "apiElements"))
|
||||||
val runtimeElementsConfiguration = project.configurations.maybeCreate(lowerCamelCaseName(descriptor.targetName, "runtimeElements"))
|
val runtimeElementsConfiguration = project.configurations.maybeCreate(lowerCamelCaseName(descriptor.targetName, "runtimeElements"))
|
||||||
val sourcesElementsConfiguration = project.configurations.maybeCreate(lowerCamelCaseName(descriptor.targetName, "sourcesElements"))
|
val sourcesElementsConfiguration = project.configurations.maybeCreate(lowerCamelCaseName(descriptor.targetName, "sourcesElements"))
|
||||||
@@ -58,7 +57,6 @@ fun <T : DecoratedExternalKotlinTarget> KotlinMultiplatformExtension.createExter
|
|||||||
targetName = descriptor.targetName,
|
targetName = descriptor.targetName,
|
||||||
platformType = descriptor.platformType,
|
platformType = descriptor.platformType,
|
||||||
publishable = true,
|
publishable = true,
|
||||||
defaultConfiguration = defaultConfiguration,
|
|
||||||
apiElementsConfiguration = apiElementsConfiguration,
|
apiElementsConfiguration = apiElementsConfiguration,
|
||||||
runtimeElementsConfiguration = runtimeElementsConfiguration,
|
runtimeElementsConfiguration = runtimeElementsConfiguration,
|
||||||
sourcesElementsConfiguration = sourcesElementsConfiguration,
|
sourcesElementsConfiguration = sourcesElementsConfiguration,
|
||||||
|
|||||||
-3
@@ -33,9 +33,6 @@ abstract class KotlinWithJavaTarget<KotlinOptionsType : KotlinCommonOptions, CO
|
|||||||
override var disambiguationClassifier: String? = null
|
override var disambiguationClassifier: String? = null
|
||||||
internal set
|
internal set
|
||||||
|
|
||||||
val defaultConfigurationName: String
|
|
||||||
get() = Dependency.DEFAULT_CONFIGURATION
|
|
||||||
|
|
||||||
override val apiElementsConfigurationName: String
|
override val apiElementsConfigurationName: String
|
||||||
get() = JavaPlugin.API_ELEMENTS_CONFIGURATION_NAME
|
get() = JavaPlugin.API_ELEMENTS_CONFIGURATION_NAME
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user