diff --git a/build.gradle.kts b/build.gradle.kts index 82e66e5..d1ad155 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,6 @@ plugins { val metadata = ModMetadata.fromJson(rootProject.file("plugin.json")) if (indraGit.headTag() == null) metadata.version += "-SNAPSHOT" group = "com.xpdustry" -val rootPackage = "com.xpdustry.nohorny" version = metadata.version description = metadata.description @@ -133,7 +132,7 @@ tasks.shadowJar { from(generateMetadataFile) from(rootProject.file("LICENSE.md")) { into("META-INF") } - val shadowPackage = "$rootPackage.shadow" + val shadowPackage = "com.xpdustry.nohorny.shadow" kotlinRelocate("com.sksamuel.hoplite", "$shadowPackage.hoplite") kotlinRelocate("okhttp3", "$shadowPackage.okhttp3") kotlinRelocate("okio", "$shadowPackage.okio") diff --git a/src/main/kotlin/com/xpdustry/nohorny/NoHornyPlugin.kt b/src/main/kotlin/com/xpdustry/nohorny/NoHornyPlugin.kt index 04972b6..32d2720 100644 --- a/src/main/kotlin/com/xpdustry/nohorny/NoHornyPlugin.kt +++ b/src/main/kotlin/com/xpdustry/nohorny/NoHornyPlugin.kt @@ -77,6 +77,8 @@ public class NoHornyPlugin : Plugin(), NoHornyAPI { .addDefaultParamMappers() .addDefaultParsers() .addPathSource(file) + .withReport() + .withReportPrintFn(logger::debug) .strict() .build()