Skip to content

infrastructure 0.9

Compare
Choose a tag to compare
@osipxd osipxd released this 04 May 08:22
· 345 commits to main since this release
856ca6d

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 use redmadrobot.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

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.