You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

plugins {
id 'java-library'
id 'maven-publish'
}
dependencies {
compileOnly deps.autovalueAnnotations
compileOnly deps.autoserviceAnnotations
implementation deps.javapoet
implementation deps.guava
implementation project(path: ':connectedapps-annotations')
implementation project(path: ':connectedapps-testing-annotations')
annotationProcessor deps.autovalue
annotationProcessor deps.autoservice
}
publishing {
publications {
maven(MavenPublication) {
from components.java
groupId = 'com.google.android.enterprise.connectedapps'
artifactId = 'connectedapps-processor'
version = project.version
pom {
licenses {
license {
name = 'Apache 2.0'
url = 'https://opensource.org/licenses/Apache-2.0'
}
}
}
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}