Is there something in Gradle that will show all im...
# gradle
n
Is there something in Gradle that will show all imports (based on all applied plugins) that can be included in a build.gradle.kts file? Need this in order to know what to import from the Konan plugin.
g
What exactly do you want to know?
No imports
n
This is what I am trying to automate with Gradle: https://gitlab.com/napperley/openfaas-weather-sample#building-program
g
You want ti automate libcurl installation?
because you already need JVM to run gradle. You don’t need to install K/N SDK manually, konan plugin does it for you, cinterop can be configured from gradle
No need to import something, pretty straight forward convertation to kotlin-dsl from groovy: https://github.com/JetBrains/kotlin-native/blob/master/samples/libcurl/build.gradle
so what is not available out of the box is installation of libcurl and cjson.
n
Meant automating steps 2-9 (excl step 4) in the "Building Program" section of the readme file.
g
2, 5, 8, 9 already automated by konan gradle plugin
4 is not required, probably user already cloned this repo, otherwise you don’t have access to gradle and build.gradle that can automate something
3, 6, 7 is related to native dependencies and can be automated, but only as platform and OS specific solution