diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index e21f7b7..94c838f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -213,6 +213,10 @@ tasks { exclude("mcmod.info") } } + if (!name.contains("sourcesjar", ignoreCase = true) || !name.contains("dokka", ignoreCase = true)) { + exclude("**/**_Test.**") + exclude("**/**_Test$**.**") + } } named<ShadowJar>("shadowJar") { archiveClassifier.set("dev") @@ -248,6 +252,7 @@ tasks { dokkaSourceSets { configureEach { jdkVersion.set(8) + //reportUndocumented.set(true) } } doLast { |