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.
|
||||
// Apply base plugins
|
||||
project.pluginManager.apply(LifecycleBasePlugin::class.java)
|
||||
project.pluginManager.apply(NativeBasePlugin::class.java)
|
||||
|
||||
checkGradleMetadataFeature()
|
||||
checkGradleVersion()
|
||||
@@ -322,6 +321,11 @@ class KotlinNativeBasePlugin: Plugin<ProjectInternal> {
|
||||
|
||||
setUpMatchingStrategy()
|
||||
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()
|
||||
addTargetInfoTask()
|
||||
}
|
||||
|
||||
@@ -316,6 +316,7 @@ class ExperimentalPluginTests {
|
||||
plugins {
|
||||
id 'kotlin-native'
|
||||
id 'maven-publish'
|
||||
id 'signing'
|
||||
}
|
||||
|
||||
group 'test'
|
||||
|
||||
Reference in New Issue
Block a user