[go: nahoru, domu]

blob: 1fd3a06fecaf6c44c5e3812b5132c073ab38faa8 [file] [log] [blame]
Ryan Mentley30824702019-04-16 17:55:33 +01001/*
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 Liutikas75e93a02019-05-28 16:31:38 -070017import androidx.build.Publish
Siyamed Sinirb148a272018-11-07 14:02:19 -080018
19plugins {
Aurimas Liutikas5fcfc0d2019-04-08 07:20:25 -070020 id("AndroidXPlugin")
21 id("com.android.library")
Louis Pullen-Freilichc8a26b82021-06-03 18:11:39 +010022 id("AndroidXComposePlugin")
Siyamed Sinirb148a272018-11-07 14:02:19 -080023 id("org.jetbrains.kotlin.android")
24}
25
26dependencies {
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070027 implementation(libs.kotlinStdlib)
Ryan Mentley30824702019-04-16 17:55:33 +010028
Jon Boekenoogen07543802021-12-26 18:49:14 +000029 api "androidx.annotation:annotation:1.2.0"
Louis Pullen-Freilichc40b87d2019-07-09 19:23:35 +010030
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070031 testImplementation(libs.testRules)
32 testImplementation(libs.testRunner)
33 testImplementation(libs.junit)
Louis Pullen-Freilichc40b87d2019-07-09 19:23:35 +010034
Siyamed Sinir064af372021-05-14 23:57:04 -070035 androidTestImplementation("androidx.core:core:1.5.0-rc02")
Jim Sproch9e38b4f2021-01-06 14:21:06 -080036 androidTestImplementation(project(":compose:ui:ui-test-font"))
Aurimas Liutikasb3483fd2021-06-04 16:56:37 -070037 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 Sproch9e38b4f2021-01-06 14:21:06 -080046 exclude group: "org.mockito" // to keep control on the mockito version
47 })
Siyamed Sinirb148a272018-11-07 14:02:19 -080048}
49
Ryan Mentley911ddc5c2019-04-01 15:22:15 -040050androidx {
Igor Deminca6fde92020-11-02 23:19:20 +030051 name = "UI Text utilities"
52 publish = Publish.NONE
Igor Deminca6fde92020-11-02 23:19:20 +030053 mavenGroup = LibraryGroups.TEXT
54 inceptionYear = "2020"
55 description = "Text primitives and utilities"
Aurimas Liutikasc53db9a2020-10-08 17:22:52 -070056 legacyDisableKotlinStrictApiMode = true
Siyamed Sinirb148a272018-11-07 14:02:19 -080057}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070058
59android {
60 namespace "androidx.compose.ui.text.android"
61}