|
|
|
@ -17,6 +17,7 @@ android {
|
|
|
|
|
versionCode Config.versionCode
|
|
|
|
|
versionName Config.versionName + Config.generateVersionSuffix()
|
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
|
manifestPlaceholders.isRaptorEnabled = "false"
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
@ -28,6 +29,7 @@ android {
|
|
|
|
|
shrinkResources false
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
applicationIdSuffix ".debug"
|
|
|
|
|
manifestPlaceholders.isRaptorEnabled = "true"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -217,6 +219,10 @@ android.applicationVariants.all { variant ->
|
|
|
|
|
buildConfigField 'String', 'BUILD_DATE', '"' + buildDate + '"'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (project.hasProperty("raptor")) {
|
|
|
|
|
android.defaultConfig.manifestPlaceholders.isRaptorEnabled = "true"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Normally this should use the same version as the glean dependency. But since we are currently using AC snapshots we
|
|
|
|
|
// can't reference a git tag with a specific version here. So we are just using "master" and hoping for the best.
|
|
|
|
|
apply from: 'https://github.com/mozilla-mobile/android-components/raw/master/components/service/glean/scripts/sdk_generator.gradle'
|
|
|
|
|