infrastructure 0.9
infrastructure-android
Module infrastructure
no more depends on AGP and doesn't require the google()
repository to be applied.
Plugins redmadrobot.application
and redmadrobot.android-library
was moved to infrastructure-android
module.
You should specify it in settings.gradle.kts to be able to use it:
resolutionStrategy {
eachPlugin {
if (requested.id.namespace == "redmadrobot") {
- useModule("com.redmadrobot.build:infrastructure:${requested.version}")
+ useModule("com.redmadrobot.build:infrastructure-android:${requested.version}")
}
}
}
Breaking change!
If you useredmadrobot.android
in the root project, you should add the following import:import com.redmadrobot.build.extension.android
QA build type name
BUILD_TYPE_STAGING
superseded with BUILD_TYPE_QA
.
To keep backward compatibility you can configure QA build type name using project property in gradle.properties
:
redmadrobot.android.build.type.qa=staging
Added
- Apply android-cache-fix plugin to android projects (#44)
Changed
- Updated Gradle 6.8.3 -> 7.0
- Completely removed
jcenter
from repositories (#36)
Fixed
- Flag
warningsAsErrors
now should work.
It is enabled by default on CI.