Fix building dist without system toolchain

This commit is contained in:
Svyatoslav Scherbina
2017-04-10 12:20:55 +03:00
committed by SvyatoslavScherbina
parent a9ebb44c6d
commit 6cf55ce20d
+5 -5
View File
@@ -33,15 +33,15 @@ allprojects {
loadCommandLineProperties()
loadLocalProperties()
setupCompilationFlags()
setupClang()
setupClang(project)
}
void setupClang() {
void setupClang(Project project) {
convention.plugins.execClang = new org.jetbrains.kotlin.ExecClang(project)
project.convention.plugins.execClang = new org.jetbrains.kotlin.ExecClang(project)
plugins.withType(NativeComponentPlugin) {
model {
project.plugins.withType(NativeComponentPlugin) {
project.model {
toolChains {
clang(Clang) {
clangPath.each {