Alan Viverette | 4ca239d | 2019-06-12 13:01:59 -0400 | [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 | |
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 | */ |
Alan Viverette | dca50c7 | 2023-07-07 10:33:12 -0400 | [diff] [blame] | 24 | import androidx.build.KotlinTarget |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 25 | import androidx.build.LibraryType |
Alan Viverette | 4ca239d | 2019-06-12 13:01:59 -0400 | [diff] [blame] | 26 | |
| 27 | plugins { |
| 28 | id("AndroidXPlugin") |
| 29 | id("com.android.library") |
Alan Viverette | 07ff947 | 2019-12-09 17:17:14 -0500 | [diff] [blame] | 30 | id("org.jetbrains.kotlin.android") |
Alan Viverette | 4ca239d | 2019-06-12 13:01:59 -0400 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | dependencies { |
Aurimas Liutikas | 0610948 | 2022-03-14 17:06:34 -0700 | [diff] [blame] | 34 | api(libs.kotlinStdlib) |
Alan Viverette | 4ca239d | 2019-06-12 13:01:59 -0400 | [diff] [blame] | 35 | lintPublish(project(":annotation:annotation-experimental-lint")) |
| 36 | } |
| 37 | |
| 38 | androidx { |
| 39 | name = "Experimental annotation" |
Omar Ismail | 86e6606 | 2024-05-03 16:10:50 +0100 | [diff] [blame] | 40 | type = LibraryType.PUBLISHED_LIBRARY |
Alan Viverette | 62baf41 | 2019-07-12 14:15:51 -0400 | [diff] [blame] | 41 | mavenVersion = LibraryVersions.ANNOTATION_EXPERIMENTAL |
Alan Viverette | 4ca239d | 2019-06-12 13:01:59 -0400 | [diff] [blame] | 42 | inceptionYear = "2019" |
Alan Viverette | 62baf41 | 2019-07-12 14:15:51 -0400 | [diff] [blame] | 43 | description = "Java annotation for use on unstable Android API surfaces. When used in " + |
| 44 | "conjunction with the Experimental annotation lint checks, this annotation provides " + |
| 45 | "functional parity with Kotlin's Experimental annotation." |
Alan Viverette | 4ca239d | 2019-06-12 13:01:59 -0400 | [diff] [blame] | 46 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 47 | |
| 48 | android { |
Aurimas Liutikas | 7795282 | 2024-12-04 18:00:17 -0800 | [diff] [blame] | 49 | namespace = "androidx.annotation.experimental" |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 50 | } |