blob: 33654dbe8908a1b74815a57144a37ecf7a1e29cf (
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
|
apply plugin: 'com.android.library'
android {
namespace "com.example.mylibrary"
compileSdkVersion rootProject.latestCompileSdk
buildToolsVersion = rootProject.buildToolsVersion
defaultConfig {
minSdkVersion 15
//noinspection ExpiringTargetSdkVersion,ExpiredTargetSdkVersion
targetSdkVersion 21
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
android.testVariants.all {
it.mergedFlavor.manifestPlaceholders = [ localApplicationId:"com.example.manifest_merger_example.flavor"]
}
dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation "com.android.support.test:runner:${project.testSupportLibVersion}"
androidTestImplementation "com.android.support.test:rules:${project.testSupportLibVersion}"
}
|