blob: ea4956bdaf7f11bee6d1fe68e3583a4164856647 [file] [log] [blame]
Sean McQuillan1f602ac2022-06-29 12:38:11 -07001/*
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
Tiem Songee0da742024-01-03 14:08:46 -080017/**
18 * This file was created using the `create_project.py` script located in the
19 * `<AndroidX root>/development/project-creator` directory.
20 *
21 * Please use that script when creating a new project, rather than copying an existing project and
22 * modifying its settings.
23 */
Sean McQuillan1f602ac2022-06-29 12:38:11 -070024import androidx.build.LibraryType
25
26plugins {
27 id("AndroidXPlugin")
28 id("com.android.library")
Jim S5930cd732023-04-12 02:33:37 -070029}
30
Jim S5930cd732023-04-12 02:33:37 -070031androidXMultiplatform {
32 android()
Aurimas Liutikas4b208c82023-10-11 17:15:47 -070033 desktop()
Sean McQuillan1f602ac2022-06-29 12:38:11 -070034}
35
36dependencies {
Jeff Gaston57254912023-07-18 13:30:51 -040037 commonMainImplementation(libs.kotlinStdlib)
Sean McQuillan1f602ac2022-06-29 12:38:11 -070038}
39
40android {
41 sourceSets {
42 main {
43 res.srcDirs += "src/commonMain/resources"
44 res.srcDirs += "src/androidMain/res"
Sean McQuillane0191e22024-01-08 12:41:15 -080045 java.srcDirs += "src/androidMain/java"
Sean McQuillan1f602ac2022-06-29 12:38:11 -070046 assets.srcDirs += "src/androidMain/assets"
47 }
48 }
49}
50
51androidx {
52 type = LibraryType.INTERNAL_TEST_LIBRARY
53}
54
55android {
Aurimas Liutikas77952822024-12-04 18:00:17 -080056 namespace = "androidx.testutils.fonts"
Sean McQuillan1f602ac2022-06-29 12:38:11 -070057}