Ryan Mentley | 3082470 | 2019-04-16 17:55:33 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 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 | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 17 | import androidx.build.Publish |
Siyamed Sinir | b148a27 | 2018-11-07 14:02:19 -0800 | [diff] [blame] | 18 | |
| 19 | plugins { |
Aurimas Liutikas | 5fcfc0d | 2019-04-08 07:20:25 -0700 | [diff] [blame] | 20 | id("AndroidXPlugin") |
| 21 | id("com.android.library") |
Louis Pullen-Freilich | c8a26b8 | 2021-06-03 18:11:39 +0100 | [diff] [blame] | 22 | id("AndroidXComposePlugin") |
Siyamed Sinir | b148a27 | 2018-11-07 14:02:19 -0800 | [diff] [blame] | 23 | id("org.jetbrains.kotlin.android") |
| 24 | } |
| 25 | |
| 26 | dependencies { |
Aurimas Liutikas | b3483fd | 2021-06-04 16:56:37 -0700 | [diff] [blame] | 27 | implementation(libs.kotlinStdlib) |
Ryan Mentley | 3082470 | 2019-04-16 17:55:33 +0100 | [diff] [blame] | 28 | |
Jon Boekenoogen | 0754380 | 2021-12-26 18:49:14 +0000 | [diff] [blame] | 29 | api "androidx.annotation:annotation:1.2.0" |
Louis Pullen-Freilich | c40b87d | 2019-07-09 19:23:35 +0100 | [diff] [blame] | 30 | |
Aurimas Liutikas | b3483fd | 2021-06-04 16:56:37 -0700 | [diff] [blame] | 31 | testImplementation(libs.testRules) |
| 32 | testImplementation(libs.testRunner) |
| 33 | testImplementation(libs.junit) |
Louis Pullen-Freilich | c40b87d | 2019-07-09 19:23:35 +0100 | [diff] [blame] | 34 | |
Siyamed Sinir | 064af37 | 2021-05-14 23:57:04 -0700 | [diff] [blame] | 35 | androidTestImplementation("androidx.core:core:1.5.0-rc02") |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 36 | androidTestImplementation(project(":compose:ui:ui-test-font")) |
Aurimas Liutikas | b3483fd | 2021-06-04 16:56:37 -0700 | [diff] [blame] | 37 | androidTestImplementation(libs.testRules) |
| 38 | androidTestImplementation(libs.testRunner) |
| 39 | androidTestImplementation(libs.testExtJunit) |
| 40 | androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| 41 | androidTestImplementation(libs.espressoCore) |
| 42 | androidTestImplementation(libs.junit) |
| 43 | androidTestImplementation(libs.truth) |
| 44 | androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| 45 | androidTestImplementation(libs.mockitoKotlin, { |
Jim Sproch | 9e38b4f | 2021-01-06 14:21:06 -0800 | [diff] [blame] | 46 | exclude group: "org.mockito" // to keep control on the mockito version |
| 47 | }) |
Siyamed Sinir | b148a27 | 2018-11-07 14:02:19 -0800 | [diff] [blame] | 48 | } |
| 49 | |
Ryan Mentley | 911ddc5c | 2019-04-01 15:22:15 -0400 | [diff] [blame] | 50 | androidx { |
Igor Demin | ca6fde9 | 2020-11-02 23:19:20 +0300 | [diff] [blame] | 51 | name = "UI Text utilities" |
| 52 | publish = Publish.NONE |
Igor Demin | ca6fde9 | 2020-11-02 23:19:20 +0300 | [diff] [blame] | 53 | mavenGroup = LibraryGroups.TEXT |
| 54 | inceptionYear = "2020" |
| 55 | description = "Text primitives and utilities" |
Aurimas Liutikas | c53db9a | 2020-10-08 17:22:52 -0700 | [diff] [blame] | 56 | legacyDisableKotlinStrictApiMode = true |
Siyamed Sinir | b148a27 | 2018-11-07 14:02:19 -0800 | [diff] [blame] | 57 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 58 | |
| 59 | android { |
| 60 | namespace "androidx.compose.ui.text.android" |
| 61 | } |