Slackbot
02/17/2023, 7:18 PMZak Taccardi
02/17/2023, 7:19 PM/**
* Throws if [this] is the root project
*/
internal fun Project.checkNotRootProject(pluginId: String) { .. }
to avoid accidentally applying a plugin to the root projecttony
02/17/2023, 7:22 PMtony
02/17/2023, 7:22 PMZak Taccardi
02/17/2023, 7:22 PMJavi
02/17/2023, 7:32 PMZak Taccardi
02/17/2023, 7:32 PMChris Lee
02/17/2023, 7:54 PMephemient
02/17/2023, 7:58 PM__FILE__ property (or another name if overridden with @file:ScriptFileLocation("...")) but gradle doesn'tephemient
02/17/2023, 7:59 PMephemient
02/17/2023, 9:04 PMval pluginIdsInThisJar = zipTree(this::class.java.protectionDomain.codeSource.location)
.matching { include("META-INF/gradle-plugins/*.properties") }
.getFiles()
.map { it.nameWithoutExtension }