Payam Pakzad | ea487f8 | 2024-12-03 14:01:41 -0800 | [diff] [blame] | 1 | /* |
MingWei | a0d220e | 2025-01-08 16:03:06 +0000 | [diff] [blame] | 2 | * Copyright (C) 2025 The Android Open Source Project |
Payam Pakzad | ea487f8 | 2024-12-03 14:01:41 -0800 | [diff] [blame] | 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 | |
| 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 | */ |
| 24 | import androidx.build.LibraryType |
| 25 | |
| 26 | plugins { |
| 27 | id("AndroidXPlugin") |
| 28 | id("com.android.library") |
| 29 | id("org.jetbrains.kotlin.android") |
| 30 | } |
| 31 | |
| 32 | dependencies { |
| 33 | api(libs.kotlinStdlib) |
Oluwarotimi Adesina | af9e226 | 2025-01-10 13:26:10 +0000 | [diff] [blame] | 34 | |
| 35 | // Internal dependencies |
| 36 | implementation("androidx.annotation:annotation:1.9.0-rc01") |
| 37 | implementation project(":appfunctions:appfunctions-common") |
MingWei | ebc753d | 2025-01-15 09:57:28 +0000 | [diff] [blame] | 38 | |
MingWei | 1ed93ed | 2025-01-21 11:21:40 +0000 | [diff] [blame] | 39 | // Test dependencies |
MingWei | ebc753d | 2025-01-15 09:57:28 +0000 | [diff] [blame] | 40 | testImplementation(libs.junit) |
| 41 | testImplementation(libs.truth) |
MingWei | 1ed93ed | 2025-01-21 11:21:40 +0000 | [diff] [blame] | 42 | |
| 43 | androidTestImplementation(libs.testCore) |
| 44 | androidTestImplementation(libs.testRules) |
| 45 | androidTestImplementation(libs.junit) |
| 46 | androidTestImplementation(libs.truth) |
| 47 | androidTestImplementation(libs.kotlinCoroutinesTest) |
Payam Pakzad | ea487f8 | 2024-12-03 14:01:41 -0800 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | android { |
Oluwarotimi Adesina | af9e226 | 2025-01-10 13:26:10 +0000 | [diff] [blame] | 51 | compileSdk = 35 |
MingWei | a0d220e | 2025-01-08 16:03:06 +0000 | [diff] [blame] | 52 | namespace = "androidx.appfunctions.runtime" |
Payam Pakzad | ea487f8 | 2024-12-03 14:01:41 -0800 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | androidx { |
MingWei | a0d220e | 2025-01-08 16:03:06 +0000 | [diff] [blame] | 56 | name = "androidx.appfunctions:appfunctions-runtime" |
Payam Pakzad | ea487f8 | 2024-12-03 14:01:41 -0800 | [diff] [blame] | 57 | type = LibraryType.PUBLISHED_LIBRARY |
MingWei | a0d220e | 2025-01-08 16:03:06 +0000 | [diff] [blame] | 58 | inceptionYear = "2025" |
| 59 | description = "Runtime library for the app to provide and interact with AppFunctions" |
Payam Pakzad | ea487f8 | 2024-12-03 14:01:41 -0800 | [diff] [blame] | 60 | } |