summaryrefslogtreecommitdiff
path: root/build-system/integration-test/test-projects/splitAwareSeparateTestModule/app/build.gradle
blob: b15f24562ccefb67b1a1803cd6cb2a5e9a8530c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
apply plugin: 'com.android.application'

android {
  namespace "com.android.tests.basic"
  compileSdkVersion libs.versions.latestCompileSdk.get().toInteger()
  buildToolsVersion = libs.versions.buildToolsVersion.get()

  publishNonDefault true
  generatePureSplits true

  defaultConfig {
    versionCode 12
    minSdkVersion 21
    //noinspection ExpiringTargetSdkVersion,ExpiredTargetSdkVersion
    targetSdkVersion 21
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  }

  splits {
    density {
      enable true
      exclude "ldpi", "tvdpi", "xxxhdpi"
    }
  }

  dependencies {
    implementation 'junit:junit:4.12'
    implementation "com.android.support.test:runner:${project.testSupportLibVersion}"
    implementation "com.android.support.test:rules:${project.testSupportLibVersion}"
  }
}