blob: 0c229d21b74effbb79b19342c485e38baf7489b9 [file] [log] [blame]
Andrey Kulikova76596c2020-04-06 11:21:39 +01001/*
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
Aurimas Liutikasc0f206d2021-06-02 09:29:46 -070017
Louis Pullen-Freiliche6ad4aa2021-03-11 18:15:47 +000018import androidx.build.LibraryType
Andrey Kulikova76596c2020-04-06 11:21:39 +010019
Andrey Kulikova76596c2020-04-06 11:21:39 +010020plugins {
21 id("AndroidXPlugin")
22 id("com.android.library")
Louis Pullen-Freilichc8a26b82021-06-03 18:11:39 +010023 id("AndroidXComposePlugin")
Andrey Kulikova76596c2020-04-06 11:21:39 +010024 id("org.jetbrains.kotlin.android")
25}
26
27dependencies {
jimgoog51f8af32021-08-11 17:45:19 +000028 kotlinPlugin(projectOrArtifact(":compose:compiler:compiler"))
Andrey Kulikova76596c2020-04-06 11:21:39 +010029
Aurimas Liutikasc0f206d2021-06-02 09:29:46 -070030 implementation(libs.kotlinStdlib)
Andrey Kulikova76596c2020-04-06 11:21:39 +010031
Jim Sproch9e38b4f2021-01-06 14:21:06 -080032 api(project(":compose:runtime:runtime"))
Aurimas Liutikasc0f206d2021-06-02 09:29:46 -070033 api(libs.rxjava2)
Andrey Kulikova76596c2020-04-06 11:21:39 +010034
jimgoog51f8af32021-08-11 17:45:19 +000035 androidTestImplementation(projectOrArtifact(":compose:ui:ui-test-junit4"))
36 androidTestImplementation(projectOrArtifact(":compose:test-utils"))
Aurimas Liutikasc0f206d2021-06-02 09:29:46 -070037 androidTestImplementation(libs.testRunner)
38 androidTestImplementation(libs.junit)
39 androidTestImplementation(libs.truth)
Aurimas Liutikasfc69bb62021-09-16 15:40:50 -070040
41 samples(projectOrArtifact(":compose:runtime:runtime-rxjava2:runtime-rxjava2-samples"))
Andrey Kulikova76596c2020-04-06 11:21:39 +010042}
43
44androidx {
Clara Bayarridc97aa62020-08-11 11:19:17 +010045 name = "Compose RxJava 2 integration"
Louis Pullen-Freiliche6ad4aa2021-03-11 18:15:47 +000046 type = LibraryType.PUBLISHED_LIBRARY
Aurimas Liutikas856d4f92022-02-01 16:04:41 -080047 mavenGroup = LibraryGroups.COMPOSE_RUNTIME
Andrey Kulikova76596c2020-04-06 11:21:39 +010048 inceptionYear = "2020"
49 description = "Compose integration with RxJava 2"
Aurimas Liutikasc53db9a2020-10-08 17:22:52 -070050 legacyDisableKotlinStrictApiMode = true
Andrey Kulikova76596c2020-04-06 11:21:39 +010051}