diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-05-28 23:11:16 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-05-28 23:11:16 +0700 |
commit | a112193704fce1dc704aa58a51fdf30f55f32a9c (patch) | |
tree | 0676f9f084e0be4861e8a5d27857d450dd772c81 /build.gradle.kts | |
parent | 4df2a5f6c815b0dd8cc8b68aaf164a40e63fa57d (diff) | |
download | OneConfig-a112193704fce1dc704aa58a51fdf30f55f32a9c.tar.gz OneConfig-a112193704fce1dc704aa58a51fdf30f55f32a9c.tar.bz2 OneConfig-a112193704fce1dc704aa58a51fdf30f55f32a9c.zip |
migrate OneConfigCommand to new command util
make classes that end with `_Test` be excluded from non-sourcejar jars
javadoc some more stuff
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 27245ec..4cb1101 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") @@ -246,6 +250,7 @@ tasks { dokkaSourceSets { configureEach { jdkVersion.set(8) + //reportUndocumented.set(true) } } doLast { |