From 73fcf2bf7cb83316b0f5a60f2712f890cafe5011 Mon Sep 17 00:00:00 2001 From: Geert Bevin Date: Sat, 31 Dec 2022 08:47:45 -0500 Subject: [PATCH] Build file tweaks --- lib/build.gradle.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 056b963..7caf895 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -12,6 +12,7 @@ base { archivesName.set("urlencoder") version = "0.9-SNAPSHOT" } + java { withJavadocJar() withSourcesJar() @@ -23,16 +24,16 @@ java { tasks.jacocoTestReport { reports { xml.required.set(true) - html.required.set(true) } } sonarqube { properties { property("sonar.projectName", rootProject.name) - property("sonar.projectKey", "gbevin_urlencoder") + property("sonar.projectKey", "gbevin_${rootProject.name}") property("sonar.organization", "gbevin") property("sonar.host.url", "https://sonarcloud.io") + property("sonar.sourceEncoding", "UTF-8") } } repositories {