git clone git@github.com:atomicrobot/Carbon-Android.git
cd Carbon-Android
python renamePackage.py com.demo.mobile
Carbon-Android
to something meaningful../gradlew app:screen -Ppackage=com.demo.mobile -Pscreen=SignIn
To register an app to an organization you will need to go to the Crashlytics web dashboard, go to the organization settings, and then get the keys and secrets it displays.
app/src/main/AndroidManifest.xml
with the organization api key.DO NOT use the demo keystore in your apps.
distribution/keys/generateKey.sh release
and update app/build.gradle
signing configs appropriately../gradlew allChecks
To see what the dependency tree currently looks like:
./gradlew app:dependencies
These are written in the context of a TeamCity CI setup.
./gradlew clean jacocoTestReport
This will pull in the current Git SHA and auto incrementing build number as part of the build.
continuousIntegration -Pfingerprint=%build.vcs.number% -PbuildNumber=%build.counter% -PdisablePreDex
for local testing:
./gradlew continuousIntegration -Pfingerprint=DEVTEST -PbuildNumber=222 -PdisablePreDex
Also make sure the CI server is set to use the Gradle wrapper.
app/build/outputs/apk/**/*-release.apk => apks
app/build/outputs/mapping/**/release/mapping.txt => proguard
app/build/reports/lint-results.html => quality/lint
app/build/reports/pmd/ => quality/pmd
app/build/reports/checkstyle/ => quality/checkstyle
app/build/reports/tests/testDevDebugUnitTest => quality/tests
app/build/reports/androidTests/connected/flavors/DEV => quality/androidTests
app/build/reports/coverage/dev/debug/ => quality/coverage
quality/lint/index.html
quality/pmd/pmd.html
quality/tests/index.html
quality/integrationTests/index.html
The Carbon app will only support those Android versions that Google Security continues to support: https://endoflife.date/android
As of July 15, 2022, the latest Android version that's supported is Android 10. Therefore the minSDK
is set to 29
Copyright 2014-2019 Atomic Robot, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.