Slackbot
05/22/2022, 1:13 PMChris Lee
05/22/2022, 2:36 PMVampire
05/22/2022, 2:44 PMVampire
05/22/2022, 2:44 PMThomas Broyer
05/22/2022, 2:45 PMexplicitApi() but making precompiled script plugins compatible with explicitApi()Chris Lee
05/22/2022, 2:46 PMephemient
05/22/2022, 3:56 PMkotlin.explicitApi() is enabled in the buildFleshgrinder
05/22/2022, 4:09 PMVampire
05/22/2022, 4:20 PMephemient
05/22/2022, 4:21 PMexplicitApi() by default would be a pretty breaking change, but maybe in some future version…ephemient
05/22/2022, 4:23 PMinternal at first - it would be an ABI break, but hopefully not too bad in production since who references those classes directly? but it broke lots of tests 😢Fleshgrinder
05/22/2022, 4:24 PMapply<GeneratedPluginAdapater>() or pluginManager.apply<GeneratedPluginAdapter>() in a build script or another plugin.ephemient
05/22/2022, 4:26 PMapply(pluginId), since the generated adapter name isn't explicit anywhere - and even goes through some funny transforms, I have plugins where it ends up being Com_example_build_conventionsPlugin for exampleFleshgrinder
05/22/2022, 4:27 PMapply<T>() route to make IntelliJ auto-completion work when you have a script plugin that depends on a script plugin or you won’t get any auto-completion, everything is red.Vampire
05/22/2022, 4:41 PMFleshgrinder
05/22/2022, 4:47 PMVampire
05/22/2022, 6:08 PMbaz.gradle.kts with plugins { java }
and foo.gradle.kts with plugins { id("baz") }; java { toolchain { languageVersion.set(JavaLanguageVersion.of(11)) } }
and it works just fine.Fleshgrinder
05/22/2022, 7:36 PMFleshgrinder
05/23/2022, 3:20 PMFleshgrinder
05/25/2022, 5:55 PM