Brian Dilley
02/23/2021, 3:59 AMpublishing.gradle.kts, and signing.gradle.kts and native.gradle.kts - but i’m having trouble because I can’t find the equivelant of apply from for the kotlin style syntax:
https://github.com/briandilley/ffmpeg4kj/blob/main/kotlin/build.gradle.ktsthanksforallthefish
02/23/2021, 6:42 AMapply(from = "publishing.gradle.kts") ? or at least, works on my machine 🙂Vampire
02/23/2021, 8:59 AMgradle/build-src or in the special buildSrc build. This has various advantages, especially when issuing the Kotlin DSL, as you for example get type-safe accessors generated for plugins you apply via plugins block and thus can write on them almost the same as in the build.gradle.kts. For normal script plugins (the ones you apply with from) this is not the case and you have to use the verbose generic APIs.Brian Dilley
02/24/2021, 7:46 AM