Aurimas Liutikas | 526389b | 2018-02-27 14:01:24 -0800 | [diff] [blame] | 1 | import static androidx.build.dependencies.DependenciesKt.* |
| 2 | import androidx.build.LibraryGroups |
| 3 | import androidx.build.LibraryVersions |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 4 | import androidx.build.Publish |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 5 | |
| 6 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 7 | id("AndroidXPlugin") |
| 8 | id("com.android.library") |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 9 | } |
| 10 | |
Aurimas Liutikas | 5888019 | 2019-06-26 17:17:08 -0700 | [diff] [blame] | 11 | android { |
| 12 | compileOptions { |
| 13 | sourceCompatibility = JavaVersion.VERSION_1_7 |
| 14 | targetCompatibility = JavaVersion.VERSION_1_7 |
| 15 | } |
| 16 | } |
| 17 | |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 18 | dependencies { |
Nick Anthony | ac4cf06 | 2019-06-04 10:59:29 -0400 | [diff] [blame] | 19 | api("androidx.annotation:annotation:1.1.0") |
Alan Viverette | 769bf13 | 2019-06-19 17:07:46 -0400 | [diff] [blame] | 20 | api(project(":core:core")) |
Nick Anthony | 692b3e95 | 2019-06-04 11:25:56 -0400 | [diff] [blame] | 21 | implementation("androidx.collection:collection:1.1.0") |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 22 | |
| 23 | androidTestImplementation(JUNIT) |
Dustin Lam | 3979d96 | 2019-04-08 10:40:19 -0700 | [diff] [blame] | 24 | androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| 25 | androidTestImplementation(ANDROIDX_TEST_CORE) |
| 26 | androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| 27 | androidTestImplementation(ANDROIDX_TEST_RULES) |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 28 | } |
| 29 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 30 | androidx { |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 31 | name = "Android Support Library Custom View" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 32 | publish = Publish.SNAPSHOT_AND_RELEASE |
Nick Anthony | 9551653 | 2018-10-31 13:59:57 -0400 | [diff] [blame] | 33 | mavenVersion = LibraryVersions.CUSTOMVIEW |
Aurimas Liutikas | ac5fe7c | 2018-03-06 14:40:53 -0800 | [diff] [blame] | 34 | mavenGroup = LibraryGroups.CUSTOMVIEW |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 35 | 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 Liutikas | bfef093 | 2018-04-04 13:25:38 -0700 | [diff] [blame] | 37 | failOnDeprecationWarnings = false |
Aurimas Liutikas | 2ffc579 | 2018-02-09 17:17:47 -0800 | [diff] [blame] | 38 | } |