blob: 886ebdefd474da6844bb6e513603ba4759beae99 [file] [log] [blame]
Aurimas Liutikas526389b2018-02-27 14:01:24 -08001import static androidx.build.dependencies.DependenciesKt.*
2import androidx.build.LibraryGroups
3import androidx.build.LibraryVersions
Aurimas Liutikas75e93a02019-05-28 16:31:38 -07004import androidx.build.Publish
Aurimas Liutikas2ffc5792018-02-09 17:17:47 -08005
6plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +01007 id("AndroidXPlugin")
8 id("com.android.library")
Aurimas Liutikas2ffc5792018-02-09 17:17:47 -08009}
10
Aurimas Liutikas58880192019-06-26 17:17:08 -070011android {
12 compileOptions {
13 sourceCompatibility = JavaVersion.VERSION_1_7
14 targetCompatibility = JavaVersion.VERSION_1_7
15 }
16}
17
Aurimas Liutikas2ffc5792018-02-09 17:17:47 -080018dependencies {
Nick Anthonyac4cf062019-06-04 10:59:29 -040019 api("androidx.annotation:annotation:1.1.0")
Alan Viverette769bf132019-06-19 17:07:46 -040020 api(project(":core:core"))
Nick Anthony692b3e952019-06-04 11:25:56 -040021 implementation("androidx.collection:collection:1.1.0")
Aurimas Liutikas2ffc5792018-02-09 17:17:47 -080022
23 androidTestImplementation(JUNIT)
Dustin Lam3979d962019-04-08 10:40:19 -070024 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
25 androidTestImplementation(ANDROIDX_TEST_CORE)
26 androidTestImplementation(ANDROIDX_TEST_RUNNER)
27 androidTestImplementation(ANDROIDX_TEST_RULES)
Aurimas Liutikas2ffc5792018-02-09 17:17:47 -080028}
29
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070030androidx {
Aurimas Liutikas2ffc5792018-02-09 17:17:47 -080031 name = "Android Support Library Custom View"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070032 publish = Publish.SNAPSHOT_AND_RELEASE
Nick Anthony95516532018-10-31 13:59:57 -040033 mavenVersion = LibraryVersions.CUSTOMVIEW
Aurimas Liutikasac5fe7c2018-03-06 14:40:53 -080034 mavenGroup = LibraryGroups.CUSTOMVIEW
Aurimas Liutikas2ffc5792018-02-09 17:17:47 -080035 inceptionYear = "2018"
36 description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later."
Aurimas Liutikasbfef0932018-04-04 13:25:38 -070037 failOnDeprecationWarnings = false
Aurimas Liutikas2ffc5792018-02-09 17:17:47 -080038}