plugins { | |
id 'java-library' | |
id 'maven-publish' | |
} | |
publishing { | |
publications { | |
maven(MavenPublication) { | |
from components.java | |
groupId = 'com.google.android.enterprise.connectedapps' | |
artifactId = 'connectedapps-annotations' | |
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 | |
} |