I'm writing a custom convention-settings-plugin ba...
# community-support
l
I'm writing a custom convention-settings-plugin based on this one: https://github.com/cloudflightio/autoconfigure-gradle-plugin/blob/main/src/main/ko[…]cloudflight/gradle/autoconfigure/AutoConfigureSettingsPlugin.kt I have two questions regarding this: 1. the reckoned version is applied to all subprojects using
settings.gradle.allprojects { project -> project.version = developmentVersion }
, is this good practice in this context? And if not, what would be the correct way to apply the version for all projects? 2. The
GrgitService
is registered with
spec.maxParallelUsages.set(1)
. In the documentation it is mentioned, that "the build service must be registered with the using tasks via Task.usesService(Provider<? extends BuildService<?>>)". But in this case the build service isn't used within a task, but within the plugin directly, is there anything to do in this case for the
spec.maxParallelUsages
to take effect? Or is it even useful conceptually?