? Or is there any other best practice to avoid having duplicate code for using artifactory as a gradle plugin repository?
g
gildor
12/06/2019, 7:56 PM
Yes, you can publish setting plugin, same way as project plugin, or you can apply script both in settings and build.gradle. There is also init.gradle way to do that, but they are system level configs
g
gmariotti
12/08/2019, 7:05 PM
That sounds great, thanks!! However, I think it won't solve my problem. I want to write an extension for using the company internal artifactory and I want to use this extension in all our projects
g
gildor
12/09/2019, 7:55 AM
Published settings plugin should solve this
gildor
12/09/2019, 7:55 AM
Or even script (Gradle also supports loading and applying scripts by url)
g
gmariotti
12/09/2019, 8:06 AM
Do you have any link to Gradle documentation about both?
g
gildor
12/09/2019, 9:28 AM
About what exactly?
g
gmariotti
12/13/2019, 11:26 AM
How to write settings plugins and applying scripts by url