Skip to content

Instantly share code, notes, and snippets.

Created October 11, 2019 00:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
subprojects { Project project ->
project.apply from: xplatRoot.absolutePath + "/tools/gradle/test_results_formatter.gradle"
project.plugins.withId('') {
project.apply plugin: 'kotlin-android'
if (project.hasProperty('apply_jacoco_plugin') {
// Runs in CI or when a local dev enables this property
project.apply from: xplatRoot.absolutePath + "/tools/gradle/jacoco_test_coverage.gradle"
} {
compileSdkVersion androidCompileSdkVersion
buildToolsVersion androidBuildToolsVersion
lintOptions {
ignore 'MissingTranslation'
defaultConfig {
minSdkVersion androidMinSdkVersion
targetSdkVersion androidTargetSdkVersion
testInstrumentationRunner 'com.dropbox.base.test.runner.DbxBaseTestRunner'
// This is needed for when we build this as a standalone target,
// which will typically be in tests.
multiDexEnabled true
compileOptions {
sourceCompatibility androidSourceCompatibility
targetCompatibility androidTargetCompatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment