summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle9
1 files changed, 7 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 0ef9c64..a4a0c2f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,12 @@ plugins {
archivesBaseName = 'lll'
version = gitVersion()
-java.toolchain.languageVersion = JavaLanguageVersion.of(8)
+java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ withSourcesJar()
+ withJavadocJar()
+}
repositories {
mavenCentral()
@@ -20,4 +25,4 @@ dependencies {
jar {
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
-} \ No newline at end of file
+}