From 00cbf0d6d752220c853784546a75c994ee788d8e Mon Sep 17 00:00:00 2001 From: null8626 Date: Mon, 8 Jul 2024 19:16:15 +0700 Subject: [PATCH] meta: project metadata updates --- .github/workflows/CI.yml | 2 +- README.md | 4 ++-- bindings/java/build.gradle | 14 ++++++++++++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7297bc14..a5715ba6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -193,7 +193,7 @@ jobs: - name: Test run: | chmod +x ./gradlew - ./gradlew test javadoc --warning-mode all -DDECANCER_TESTING=1 + ./gradlew test javadoc -DDECANCER_TESTING=1 working-directory: bindings/java shell: bash native: diff --git a/README.md b/README.md index c7eaf14d..fd4f37e2 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ Windows: git clone https://github.com/null8626/decancer.git --depth 1 cd .\decancer\bindings\java powershell -NoLogo -NoProfile -NonInteractive -Command "Expand-Archive -Path .\bin\bindings.zip -DestinationPath .\bin -Force" -gradle build --warning-mode all +gradle build -x test ``` macOS/Linux: @@ -144,7 +144,7 @@ git clone https://github.com/null8626/decancer.git --depth 1 cd ./decancer/bindings/java unzip ./bin/bindings.zip -d ./bin chmod +x ./gradlew -./gradlew build --warning-mode all +./gradlew build -x test ``` Tip: You can shrink the size of the resulting jar file by removing binaries in the `bin` directory for the platforms you don't want to support. diff --git a/bindings/java/build.gradle b/bindings/java/build.gradle index 2301969d..02b62f81 100644 --- a/bindings/java/build.gradle +++ b/bindings/java/build.gradle @@ -6,7 +6,7 @@ plugins { group 'io.github.null8626' version '3.2.3' -description 'A tiny package that removes common unicode confusables/homoglyphs from strings.' +description 'A library that removes common unicode confusables/homoglyphs from strings.' repositories { mavenCentral() @@ -35,7 +35,7 @@ publishing { pom { name = 'decancer' - description = 'A tiny package that removes common unicode confusables/homoglyphs from strings.' + description = 'A library that removes common unicode confusables/homoglyphs from strings.' url = 'https://github.com/null8626/decancer' inceptionYear = '2021' @@ -83,6 +83,16 @@ publishing { } jreleaser { + project { + name = 'decancer' + version = '3.2.3' + description = 'A library that removes common unicode confusables/homoglyphs from strings.' + longDescription = 'A library that removes common unicode confusables/homoglyphs from strings.' + license = 'MIT' + inceptionYear = '2021' + copyright = 'Copyright (c) 2021-2024 null8626' + } + signing { active = 'ALWAYS' armored = true