blob: 64bb8b9e139e902a927fc93e5ac4d05475757899 [file] [log] [blame]
/*
* Copyright (C) 2025 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* This file was created using the `create_project.py` script located in the
* `<AndroidX root>/development/project-creator` directory.
*
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
import androidx.build.SoftwareType
plugins {
id("AndroidXPlugin")
id("com.android.library")
id("org.jetbrains.kotlin.android")
}
android {
namespace = "androidx.pdf.ink"
defaultConfig {
minSdk = 31
compileSdk = 36
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
}
dependencies {
def ink_version = "1.0.0-alpha05"
api(libs.kotlinStdlib)
implementation(project(":pdf:pdf-viewer-fragment"))
implementation("androidx.core:core:1.13.0")
implementation("androidx.core:core-ktx:1.13.0")
implementation("androidx.fragment:fragment-ktx:1.8.1")
implementation("androidx.ink:ink-authoring:${ink_version}")
implementation("androidx.ink:ink-brush:${ink_version}")
implementation("androidx.ink:ink-geometry:${ink_version}")
implementation("androidx.ink:ink-nativeloader:${ink_version}")
implementation("androidx.ink:ink-rendering:${ink_version}")
implementation("androidx.ink:ink-strokes:${ink_version}")
implementation("androidx.input:input-motionprediction:1.0.0-beta05")
implementation("com.google.android.material:material:1.11.0")
testImplementation(libs.junit)
testImplementation(libs.testRunner)
testImplementation(libs.truth)
testImplementation(libs.robolectric)
testImplementation(libs.testCoreKtx)
testImplementation(libs.testExtJunitKtx)
testImplementation(libs.kotlinCoroutinesTest)
androidTestImplementation(libs.junit)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.kotlinCoroutinesTest)
}
androidx {
name = "androidx.pdf:pdf-ink"
type = SoftwareType.PUBLISHED_LIBRARY
inceptionYear = "2025"
description = "Provide annotations support for PDF document using ink library"
}