[K/N][samples] Use compilations for libcurl dependency setting
This commit is contained in:
@@ -44,13 +44,15 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// The code snippet below is needed to make all compile tasks depend on publication of
|
// The code snippet below is needed to make all compile tasks depend on publication of
|
||||||
// "libcurl" library. So that to the time of compilation the library will already be
|
// "libcurl" library. So that to the time of compilation the library will already be
|
||||||
// in Maven repo and will be successfully resolved as a dependency of this project.
|
// in Maven repo and will be successfully resolved as a dependency of this project.
|
||||||
tasks.withType(AbstractCompile::class) {
|
targets.all {
|
||||||
dependsOn(":libcurl:publish")
|
compilations.all {
|
||||||
|
compileKotlinTask.dependsOn(":libcurl:publish")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// The following snippet is needed to give instructions for IDEA user who just imported project
|
// The following snippet is needed to give instructions for IDEA user who just imported project
|
||||||
|
|||||||
Reference in New Issue
Block a user