summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index e72c0b8..c471345 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,12 @@ plugins {
archivesBaseName = 'processor'
version = gitVersion()
-java.toolchain.languageVersion = JavaLanguageVersion.of(8)
+java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ withSourcesJar()
+ withJavadocJar()
+}
repositories {
mavenCentral()