blob: b08498c6e2042dec0b9fc6e1a7b46bdbced5ea5a [file] [log] [blame]
Mihai Burlaciucddb913b2020-10-01 11:24:10 +00001/*
2 * Copyright 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17import androidx.build.LibraryGroups
18import androidx.build.LibraryVersions
19import androidx.build.Publish
20import androidx.build.RunApiTasks
Mihai Burlaciucddb913b2020-10-01 11:24:10 +000021
22import static androidx.build.dependencies.DependenciesKt.*
23
24plugins {
25 id("AndroidXPlugin")
26 id("com.android.library")
27 id("AndroidXUiPlugin")
28 id("org.jetbrains.kotlin.android")
29 id("kotlin-android")
30}
31
32dependencies {
Jim Sproch9e38b4f2021-01-06 14:21:06 -080033 kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
Mihai Burlaciucddb913b2020-10-01 11:24:10 +000034
35 implementation(KOTLIN_STDLIB)
Jim Sproch9e38b4f2021-01-06 14:21:06 -080036 api(projectOrArtifact(":compose:foundation:foundation"))
37 api(projectOrArtifact(":paging:paging-common"))
Mihai Burlaciucddb913b2020-10-01 11:24:10 +000038
Jim Sproch9e38b4f2021-01-06 14:21:06 -080039 androidTestImplementation(projectOrArtifact(":compose:ui:ui-test-junit4"))
Dustin Lamd76c6622021-04-15 23:08:06 -070040 androidTestImplementation(project(":compose:test-utils"))
Jim Sproch9e38b4f2021-01-06 14:21:06 -080041 androidTestImplementation(projectOrArtifact(":internal-testutils-paging"))
Mihai Burlaciucddb913b2020-10-01 11:24:10 +000042 androidTestImplementation(ANDROIDX_TEST_RUNNER)
43 androidTestImplementation(JUNIT)
44 androidTestImplementation(TRUTH)
45}
46
47androidx {
Andrey Kulikov9ec478b2020-10-16 17:22:41 +010048 name = "Android Paging-Compose"
Nick Anthony1e338e72020-10-19 17:47:29 -040049 publish = Publish.SNAPSHOT_AND_RELEASE
Andrey Kulikov9ec478b2020-10-16 17:22:41 +010050 mavenVersion = LibraryVersions.PAGING_COMPOSE
51 mavenGroup = LibraryGroups.PAGING
Mihai Burlaciucddb913b2020-10-01 11:24:10 +000052 inceptionYear = "2020"
53 description = "Compose integration with Paging"
54 runApiTasks = new RunApiTasks.Yes()
Aurimas Liutikasc53db9a2020-10-08 17:22:52 -070055 legacyDisableKotlinStrictApiMode = true
Mihai Burlaciucddb913b2020-10-01 11:24:10 +000056}