Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 1 | /* |
| 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 Liutikas | c0f206d | 2021-06-02 09:29:46 -0700 | [diff] [blame] | 17 | |
Louis Pullen-Freilich | e6ad4aa | 2021-03-11 18:15:47 +0000 | [diff] [blame] | 18 | import androidx.build.LibraryType |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 19 | |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 20 | plugins { |
| 21 | id("AndroidXPlugin") |
| 22 | id("com.android.library") |
Louis Pullen-Freilich | c8a26b8 | 2021-06-03 18:11:39 +0100 | [diff] [blame] | 23 | id("AndroidXComposePlugin") |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 24 | id("org.jetbrains.kotlin.android") |
| 25 | } |
| 26 | |
| 27 | dependencies { |
jimgoog | 51f8af3 | 2021-08-11 17:45:19 +0000 | [diff] [blame] | 28 | kotlinPlugin(projectOrArtifact(":compose:compiler:compiler")) |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 29 | |
Aurimas Liutikas | c0f206d | 2021-06-02 09:29:46 -0700 | [diff] [blame] | 30 | implementation(libs.kotlinStdlib) |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 31 | |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 32 | api(project(":compose:runtime:runtime")) |
Aurimas Liutikas | c0f206d | 2021-06-02 09:29:46 -0700 | [diff] [blame] | 33 | api(libs.rxjava2) |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 34 | |
jimgoog | 51f8af3 | 2021-08-11 17:45:19 +0000 | [diff] [blame] | 35 | androidTestImplementation(projectOrArtifact(":compose:ui:ui-test-junit4")) |
| 36 | androidTestImplementation(projectOrArtifact(":compose:test-utils")) |
Aurimas Liutikas | c0f206d | 2021-06-02 09:29:46 -0700 | [diff] [blame] | 37 | androidTestImplementation(libs.testRunner) |
| 38 | androidTestImplementation(libs.junit) |
| 39 | androidTestImplementation(libs.truth) |
Aurimas Liutikas | fc69bb6 | 2021-09-16 15:40:50 -0700 | [diff] [blame] | 40 | |
| 41 | samples(projectOrArtifact(":compose:runtime:runtime-rxjava2:runtime-rxjava2-samples")) |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | androidx { |
Clara Bayarri | dc97aa6 | 2020-08-11 11:19:17 +0100 | [diff] [blame] | 45 | name = "Compose RxJava 2 integration" |
Louis Pullen-Freilich | e6ad4aa | 2021-03-11 18:15:47 +0000 | [diff] [blame] | 46 | type = LibraryType.PUBLISHED_LIBRARY |
Aurimas Liutikas | 856d4f9 | 2022-02-01 16:04:41 -0800 | [diff] [blame] | 47 | mavenGroup = LibraryGroups.COMPOSE_RUNTIME |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 48 | inceptionYear = "2020" |
| 49 | description = "Compose integration with RxJava 2" |
Aurimas Liutikas | c53db9a | 2020-10-08 17:22:52 -0700 | [diff] [blame] | 50 | legacyDisableKotlinStrictApiMode = true |
Andrey Kulikov | a76596c | 2020-04-06 11:21:39 +0100 | [diff] [blame] | 51 | } |