Fix 'No value has been specified for this provider' error
This commit is contained in:
committed by
Ilya Matveev
parent
5a37fe4e7e
commit
bef66d93dd
+5
-1
@@ -314,7 +314,6 @@ class KotlinNativeBasePlugin: Plugin<ProjectInternal> {
|
|||||||
// TODO: Deal with compiler downloading.
|
// TODO: Deal with compiler downloading.
|
||||||
// Apply base plugins
|
// Apply base plugins
|
||||||
project.pluginManager.apply(LifecycleBasePlugin::class.java)
|
project.pluginManager.apply(LifecycleBasePlugin::class.java)
|
||||||
project.pluginManager.apply(NativeBasePlugin::class.java)
|
|
||||||
|
|
||||||
checkGradleMetadataFeature()
|
checkGradleMetadataFeature()
|
||||||
checkGradleVersion()
|
checkGradleVersion()
|
||||||
@@ -322,6 +321,11 @@ class KotlinNativeBasePlugin: Plugin<ProjectInternal> {
|
|||||||
|
|
||||||
setUpMatchingStrategy()
|
setUpMatchingStrategy()
|
||||||
addCompilationTasks()
|
addCompilationTasks()
|
||||||
|
|
||||||
|
// The NativeBasePlugin accesses some properties which are set by the methods above
|
||||||
|
// (e.g. linkFile for libraries). Thus we have to apply it after setting there properties.
|
||||||
|
project.pluginManager.apply(NativeBasePlugin::class.java)
|
||||||
|
|
||||||
addInteropTasks()
|
addInteropTasks()
|
||||||
addTargetInfoTask()
|
addTargetInfoTask()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -316,6 +316,7 @@ class ExperimentalPluginTests {
|
|||||||
plugins {
|
plugins {
|
||||||
id 'kotlin-native'
|
id 'kotlin-native'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
|
id 'signing'
|
||||||
}
|
}
|
||||||
|
|
||||||
group 'test'
|
group 'test'
|
||||||
|
|||||||
Reference in New Issue
Block a user