Gradle allows to generate typesafe project accessors.
This feature must be enabled with:
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
And can be used like this:
dependencies {
implementations(projects.mySubProject)
}
However, those accessors are not accessible in convention plugins. Let's change that!
Gradle allows to generate typesafe project accessors.
This feature must be enabled with:
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")And can be used like this:
dependencies { implementations(projects.mySubProject) }However, those accessors are not accessible in convention plugins. Let's change that!