aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-04 17:17:25 +0100
committer zaaarf <zaaarf@proton.me>2023-03-04 17:17:46 +0100
commit8695612c58141b1d5e0ee274027ebbd2050de6f8 (patch)
treeda67c35489982c4af2c60b39230eae9c3a0029e8 /build.gradle
parent52898ed2f1e92b5dd767bcf8f5a26c6fff09f2a1 (diff)
chore: added sources and javadocs jars generation
Diffstat (limited to 'build.gradle')
-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()