33ef4452b7
Create the compilations even when all of the targets that the shared-Native source set is compiled for are disabled on the current host. In that case, disable the compilation task Also clear the inputs of the disabled tasks so that when Gradle builds the task graph it doesn't resolve the dependencies. Otherwise, a Gradle build that includes the compile tasks of the disabled targets in the task graph would fail as follows, e.g. on a macOS host with a project containing a mingw target): ``` Could not determine the dependencies of task ':compileKotlinMingwX86' ... Could not resolve all task dependencies for configuration ':mingwX86CompileKlibraries' ... Could not find com.example:my-dependency-mingwx86:1.0 ...