From a15726126fa08aa522dbdee0341e4e1997f05382 Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Sat, 29 Oct 2022 04:17:02 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=BC=98=E5=8C=96=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index a40559b..5416462 100644 --- a/build.gradle +++ b/build.gradle @@ -32,13 +32,12 @@ subprojects { java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 - withJavadocJar() +// withJavadocJar() withSourcesJar() } tasks.withType(JavaCompile) { options.encoding = 'UTF-8' - options.compilerArgs << "-Xlint:unchecked" } tasks.withType(Jar) { @@ -48,8 +47,9 @@ subprojects { javadoc { options.quiet() - options.encoding = 'utf8' + options.encoding = 'UTF-8' options.jFlags("-Dfile.encoding=utf8") + options.addStringOption('Xdoclint:none', '-quiet') options.links = [ "https://javadoc.io/doc/org.jetbrains/annotations/23.0.0", 'https://javadoc.io/doc/com.google.code.gson/gson/2.8.0', @@ -65,7 +65,7 @@ subprojects { artifactId = projectNameSplit[projectNameSplit.length - 1] artifact jar artifact sourcesJar - artifact javadocJar +// artifact javadocJar } } repositories {