plugins { id 'java-library' id 'maven-publish' id 'checkstyle' } apply plugin: 'org.cadixdev.licenser' apply from: '../gradle/checkstyle.gradle' apply from: '../gradle/publish.gradle' apply from: '../gradle/errorprone.gradle' java { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } license { header = project.rootProject.file('HEADER.txt') } dependencies { implementation project(':velocity-api') } test { useJUnitPlatform() } publishing { publications { mavenJava(MavenPublication) { from components.java } } }