Files
tubestation/taskcluster/scripts/misc/android-gradle-dependencies.sh
Jonathan Almeida fd7f7bef84 Bug 1872229 - Move mozilla-lint-rules to tooling-lint r=tcampbell,android-reviewers,adhingra,mcarare
There are only a few more rules in the fenix project that are better
having in the tooling-lint component, so lets just move that here.

Differential Revision: https://phabricator.services.mozilla.com/D236048
2025-04-11 04:37:30 +00:00

31 lines
821 B
Bash
Executable File

#!/bin/bash -vex
set -x -e
echo "running as" $(id)
set -v
cd $GECKO_PATH
# Nexus needs Java 8
export PATH=$MOZ_FETCHES_DIR/jdk-8/bin:$PATH
. taskcluster/scripts/misc/android-gradle-dependencies/before.sh
export MOZCONFIG=mobile/android/config/mozconfigs/android-arm-gradle-dependencies/nightly
./mach build
./mach gradle downloadDependencies --no-configuration-cache
./mach android gradle-dependencies --no-configuration-cache
pushd mobile/android/fenix
./gradlew detekt lint assembleDebug :benchmark:assembleBenchmark
popd
pushd mobile/android/focus-android
./gradlew lint
popd
pushd mobile/android/android-components
./gradlew -Pcoverage detekt lint service-nimbus:testReleaseUnitTest samples-browser:testGeckoDebugUnitTest tooling-lint:test
popd
. taskcluster/scripts/misc/android-gradle-dependencies/after.sh