-
-
Save changusmc/9b2f09149bec15f2cee35859accd024a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
subprojects { Project project -> | |
project.apply from: xplatRoot.absolutePath + "/tools/gradle/test_results_formatter.gradle" | |
project.plugins.withId('com.android.library') { | |
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" | |
} | |
project.android { | |
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