forked from androidx/androidx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
66 lines (58 loc) · 2.07 KB
/
Copy pathbuild.gradle
File metadata and controls
66 lines (58 loc) · 2.07 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import androidx.build.Publish
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
android {
defaultConfig {
multiDexEnabled true
}
}
dependencies {
api("androidx.annotation:annotation:1.1.0")
api("androidx.interpolator:interpolator:1.0.0")
api("androidx.core:core:1.1.0")
api(project(":leanback:leanback-grid"))
api("androidx.media:media:1.0.0")
api("androidx.fragment:fragment:1.0.0")
api("androidx.recyclerview:recyclerview:1.2.0-rc01")
api("androidx.appcompat:appcompat:1.0.0")
// To avoid manifest merger warnings due to duplicate package names
// It can be removed if appcompat library is updated to a newer version
implementation("androidx.vectordrawable:vectordrawable-animated:1.1.0")
androidTestImplementation(libs.kotlinStdlib)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.multidex)
androidTestImplementation(libs.espressoCore, excludes.espresso)
androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(project(":internal-testutils-espresso"))
androidTestImplementation(project(":internal-testutils-runtime"))
androidTestImplementation(project(":internal-testutils-common"))
}
android {
defaultConfig {
minSdkVersion 17
}
sourceSets {
main.java.srcDirs += [
"common",
"kitkat",
"api21",
]
}
}
androidx {
name = "Android Support Leanback v17"
publish = Publish.SNAPSHOT_AND_RELEASE
mavenGroup = LibraryGroups.LEANBACK
mavenVersion = LibraryVersions.LEANBACK
inceptionYear = "2014"
description = "Android Support Leanback v17"
failOnDeprecationWarnings = false
}