Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / build-logic / shared-test-resources / robolectric.properties

robolectric.properties10 lines · 677 BRaw
1# Repo-wide Robolectric default SDK (applied by common-conventions-app/library, which add
2# this directory to every module's unit-test resources).
3#
4# The existing Robolectric tests pin `@Config(sdk = [34])` explicitly. This file sets that
5# same SDK as the default for every test class WITHOUT an explicit `@Config(sdk = ...)`
6# (mechanism, verified against robolectric-4.17: Robolectric merges the classpath-root
7# robolectric.properties via Config$Implementation.fromProperties as the base config for
8# every test, still overridable per test class with @Config). Keeps new tests on the same
9# validated sandbox instead of whatever the module's targetSdk resolves to.
10sdk=34