| ... |
... |
@@ -348,8 +348,8 @@ androidComponents { |
|
348
|
348
|
// -------------------------------------------------------------------------------------------------
|
|
349
|
349
|
|
|
350
|
350
|
android.defaultConfig.with {
|
|
351
|
|
- buildConfigField 'boolean', 'CRASH_REPORTING', 'true'
|
|
352
|
|
- buildConfigField 'boolean', 'TELEMETRY', 'true'
|
|
|
351
|
+ buildConfigField 'boolean', 'CRASH_REPORTING', 'false'
|
|
|
352
|
+ buildConfigField 'boolean', 'TELEMETRY', 'false'
|
|
353
|
353
|
|
|
354
|
354
|
// Reading the sentry token from a local file (if it exists). In a release task on taskcluster it will be available.
|
|
355
|
355
|
buildConfigField 'String', 'SENTRY_TOKEN', 'null'
|
| ... |
... |
@@ -357,8 +357,6 @@ android.defaultConfig.with { |
|
357
|
357
|
def token = new File("${rootDir}/.sentry_token").text.trim()
|
|
358
|
358
|
buildConfigField 'String', 'SENTRY_TOKEN', '"' + token + '"'
|
|
359
|
359
|
} catch (FileNotFoundException ignored) {}
|
|
360
|
|
- buildConfigField 'boolean', 'CRASH_REPORTING', 'false'
|
|
361
|
|
- buildConfigField 'boolean', 'TELEMETRY', 'false'
|
|
362
|
360
|
|
|
363
|
361
|
// Setting buildDate with every build ID changes the generated BuildConfig and slows down the
|
|
364
|
362
|
// build, so debug builds (overridden below) use a fixed string instead.
|