Jake Wharton | bf04c31 | 2018-03-09 13:50:42 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018 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 Song | ee0da74 | 2024-01-03 14:08:46 -0800 | [diff] [blame] | 17 | /** |
| 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 | */ |
Jelle Fresen | 4a13c56 | 2021-11-26 16:50:44 +0000 | [diff] [blame] | 24 | import androidx.build.LibraryType |
Dustin Lam | 9473104 | 2020-01-06 18:46:51 -0800 | [diff] [blame] | 25 | |
Jake Wharton | bf04c31 | 2018-03-09 13:50:42 -0500 | [diff] [blame] | 26 | plugins { |
Aurimas Liutikas | 65d3d60 | 2019-04-01 23:08:13 -0700 | [diff] [blame] | 27 | id("AndroidXPlugin") |
Jake Wharton | bf04c31 | 2018-03-09 13:50:42 -0500 | [diff] [blame] | 28 | } |
| 29 | |
Veyndan Stuart | 71a449b | 2023-05-08 10:47:55 -0700 | [diff] [blame] | 30 | androidXMultiplatform { |
| 31 | ios() |
Veyndan Stuart | 71a449b | 2023-05-08 10:47:55 -0700 | [diff] [blame] | 32 | jvm() |
| 33 | linux() |
| 34 | mac() |
| 35 | |
| 36 | sourceSets { |
| 37 | commonMain { |
| 38 | dependencies { |
| 39 | api(libs.kotlinStdlib) |
| 40 | api(libs.kotlinCoroutinesCore) |
| 41 | api(libs.kotlinCoroutinesTest) |
| 42 | } |
| 43 | } |
| 44 | jvmMain { |
| 45 | dependencies { |
| 46 | api(libs.junit) |
| 47 | } |
| 48 | } |
| 49 | } |
Jake Wharton | bf04c31 | 2018-03-09 13:50:42 -0500 | [diff] [blame] | 50 | } |
Jeff Gaston | 5ba2d41 | 2018-10-08 15:51:29 -0400 | [diff] [blame] | 51 | |
Jelle Fresen | 4a13c56 | 2021-11-26 16:50:44 +0000 | [diff] [blame] | 52 | androidx { |
| 53 | type = LibraryType.INTERNAL_TEST_LIBRARY |
| 54 | } |