blob: b312924b2b5e7d44acdf3dc703a33a5b3501ead8 [file] [log] [blame]
Josep del Río48ca6e62022-10-07 20:25:19 +01001/*
2 * Copyright (C) 2022 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 */
Josep del Río48ca6e62022-10-07 20:25:19 +010024import androidx.build.LibraryType
25
26plugins {
27 id("AndroidXPlugin")
28 id("com.android.library")
Josep del Río2e29ec02023-08-07 20:07:31 +010029 id("org.jetbrains.kotlin.android")
Josep del Río48ca6e62022-10-07 20:25:19 +010030}
31
32dependencies {
Aurimas Liutikas96f0b302024-07-25 15:49:23 -070033 api("androidx.annotation:annotation:1.8.1")
Josep del Río48ca6e62022-10-07 20:25:19 +010034
Josep del Ríoa5869e42023-06-14 02:12:52 +010035 implementation("androidx.core:core:1.10.1")
36
Josep del Río2e29ec02023-08-07 20:07:31 +010037 testImplementation(libs.robolectric)
38 testImplementation(libs.testCore)
39 testImplementation(libs.testExtJunit)
40 testImplementation(libs.testRules)
41 testImplementation(libs.testRunner)
42 testImplementation(libs.truth)
43 testImplementation(libs.junit)
44 testImplementation(libs.kotlinCoroutinesTest)
45 testImplementation(libs.kotlinTest)
46 testImplementation(libs.kotlinReflect)
47
Josep del Río48ca6e62022-10-07 20:25:19 +010048}
49
50android {
51 defaultConfig {
Josep del Río48ca6e62022-10-07 20:25:19 +010052 }
Aurimas Liutikas77952822024-12-04 18:00:17 -080053 namespace = "androidx.input.motionprediction"
Josep del Río48ca6e62022-10-07 20:25:19 +010054}
55
56androidx {
Alan Viverettec9e1fd72023-05-08 17:36:59 -040057 name = "Motion Prediction"
Josep del Río48ca6e62022-10-07 20:25:19 +010058 type = LibraryType.PUBLISHED_LIBRARY
59 mavenVersion = LibraryVersions.INPUT_MOTIONPREDICTION
Josep del Río48ca6e62022-10-07 20:25:19 +010060 inceptionYear = "2022"
61 description = "reduce the latency of input interactions by predicting future MotionEvents"
Aurimas Liutikas5c5419a2024-05-29 15:26:58 -070062 legacyDisableKotlinStrictApiMode = true
Julia McClellan81a46bc2024-12-03 14:42:36 -050063 // TODO: b/326456246
64 optOutJSpecify = true
Josep del Río48ca6e62022-10-07 20:25:19 +010065}