Skip to content

Instantly share code, notes, and snippets.

@NinoDLC
Created February 18, 2020 13:02
Show Gist options
  • Save NinoDLC/ea2ede8d1aab0a204843ddcc0c6f554f to your computer and use it in GitHub Desktop.
Save NinoDLC/ea2ede8d1aab0a204843ddcc0c6f554f to your computer and use it in GitHub Desktop.
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "fr.delcey.mareu"
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// The following argument makes the Android Test Orchestrator run its
// "pm clear" command after each test invocation. This command ensures
// that the app's state is completely cleared between tests.
testInstrumentationRunnerArguments clearPackageData: 'true'
}
testOptions {
// New android orchestrator allows us to clear data between each instrumentation test
execution 'ANDROIDX_TEST_ORCHESTRATOR'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment