Fix compilation of kotlin-gradle-plugin broken after migration to gradle 4.10
This commit is contained in:
-1
@@ -76,7 +76,6 @@ internal class KotlinPlatformUsageContext(
|
|||||||
|
|
||||||
override fun getCapabilities(): Set<Capability> = emptySet()
|
override fun getCapabilities(): Set<Capability> = emptySet()
|
||||||
|
|
||||||
// FIXME this is a stub for a function that is not present in the Gradle API that we compile against
|
|
||||||
override fun getGlobalExcludes(): Set<ExcludeRule> = emptySet()
|
override fun getGlobalExcludes(): Set<ExcludeRule> = emptySet()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
package org.jetbrains.kotlin.gradle.plugin.mpp
|
package org.jetbrains.kotlin.gradle.plugin.mpp
|
||||||
|
|
||||||
|
import org.gradle.api.artifacts.ExcludeRule
|
||||||
import org.gradle.api.artifacts.ModuleDependency
|
import org.gradle.api.artifacts.ModuleDependency
|
||||||
import org.gradle.api.artifacts.ModuleIdentifier
|
import org.gradle.api.artifacts.ModuleIdentifier
|
||||||
import org.gradle.api.artifacts.ModuleVersionIdentifier
|
import org.gradle.api.artifacts.ModuleVersionIdentifier
|
||||||
@@ -82,7 +83,6 @@ class KotlinVariantWithMetadataDependency(target: KotlinTarget, private val meta
|
|||||||
) : UsageContext by parentUsageContext {
|
) : UsageContext by parentUsageContext {
|
||||||
override fun getDependencies() = parentUsageContext.dependencies + additionalDependencies
|
override fun getDependencies() = parentUsageContext.dependencies + additionalDependencies
|
||||||
|
|
||||||
// FIXME this is a stub for a function that is not present in the Gradle API that we compile against
|
override fun getGlobalExcludes(): Set<ExcludeRule> = emptySet()
|
||||||
fun getGlobalExcludes(): Set<Any> = emptySet()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user