To summarize my question: what is the fully-qualified name of the build-scan plugin? See below for context:
I would like to apply the build-scan plugin in my init.gradle in $HOME/.gradle/init.d/init.gradle. I was able to do this with buildReceipt with the following script:
I actually don’t recollect how I found the fully-qualified name of the build receipt plugin, and a quick search online hasn’t yet helped. I tried using the new plugins { } mechanism, but got the following error:
Error:Gradle DSL method not found: 'plugins()'
So I assume I need the fully-qualified name of the build-scan plugin. What is it?
Yes, we have updated the onboarding pages accordingly, and the production upgrade of those pages will go live this week. We will let you know on this thread when it has been done.
The production upgrade is done.
You can now find an exemple init script in https://scans.gradle.com/setup/step-1, by clicking on the Don't want to modify your build file? link at the bottom right of the page.
@Francois_Guillot or @etiennestuder, is there a way to specify -Dscan in my gradle.properties file so it runs by default? I’m derping hard on this one. It’s not obvious from the docs here. Thanks.
This is not possible. We explicitly check for the system property on the command line.
This is not definitive, and their will be some changes about that in the near future .