Slackbot
08/25/2022, 8:57 AMThomas Broyer
08/25/2022, 9:12 AMEug
08/25/2022, 9:23 AMandroid.applicationVariants.all { variant ->
if (variant.buildType.name == "release"){
if ((libs.dependency.sdk.get() as String).contains("SNAPSHOT")) {
throw new GradleException('Release builds should not contain SNAPSHOT builds of the Carealot SDK')
}
}
}
Thomas Broyer
08/25/2022, 9:29 AMEug
08/25/2022, 10:05 AMVampire
08/25/2022, 10:48 AMEug
08/25/2022, 11:19 AM