Support configuring repositories in allprojects and subprojects blocks #19
Labels
bug
Something isn't working
help wanted
Extra attention is needed
question
Further information is requested
I want to configure gitlab repositories for all subprojects and therefore use the
subprojects
in my root gradle.build.kts file. I applied the plugin in the settings.gradle.kts file using the plugins block:because I want to apply my own gradle plugin, which is hosted in a gitlab repository and therefore the gradle-gitlab-repositories must already be applied before the buildscript block of the root gradle build file is evaluated.
If I use
val gitLab = the<at.schrottner.gradle.GitlabRepositoriesExtension>()
to access the extension in thesubprojects
block I getExtension of type 'GitlabRepositoriesExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension]
. If I also apply the plugins in the subprojects block, I getCannot add extension with name 'gitLab', as there is an extension already registered with that name.
.The text was updated successfully, but these errors were encountered: