blob: c974528cea8418a2b0d01daa43c2dceb73096d84 [file] [log] [blame]
/*
* Copyright 2019 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.
*/
import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.CompilationTarget
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import androidx.build.Publish
import org.gradle.internal.jvm.Jvm
plugins {
id("AndroidXPlugin")
id("kotlin")
}
dependencies {
implementation(project(":serialization:serialization-annotation"))
implementation(project(":serialization:serialization-schema"))
implementation(JAVAPOET)
implementation(KOTLINPOET)
implementation(KOTLIN_METADATA_JVM)
implementation(KOTLIN_STDLIB)
testImplementation("androidx.annotation:annotation:1.1.0")
testImplementation("androidx.collection:collection:1.0.0")
testImplementation(GOOGLE_COMPILE_TESTING)
testImplementation(INTELLIJ_ANNOTATIONS)
testImplementation(JSR250)
testImplementation(JUNIT)
testImplementation(TRUTH)
testImplementation(files(Jvm.current().getToolsJar()))
}
androidx {
name = "AndroidX Serialization - Compiler"
publish = Publish.NONE
toolingProject = true
compilationTarget = CompilationTarget.HOST
mavenVersion = LibraryVersions.SERIALIZATION
mavenGroup = LibraryGroups.SERIALIZATION
inceptionYear = "2019"
description = "Annotation processor for AndroidX Serialization"
}