From 2be058ece30a88b67a1d75a673e257e5ed011e90 Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Sat, 9 Aug 2025 16:33:55 +0800 Subject: [PATCH 1/2] chore: bump gradle plugins. --- .github/workflows/test-deploy.yml | 2 +- build.gradle.kts | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 451ef62..817203b 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -126,4 +126,4 @@ jobs: java-version: ${{ env.JAVA_VERSION }} distribution: ${{ env.JAVA_DISTRIBUTION }} - name: Publish to Maven Central - run: ./gradlew publishAllPublicationsToCentralPortal \ No newline at end of file + run: ./gradlew publishAggregationToCentralPortal diff --git a/build.gradle.kts b/build.gradle.kts index 2ac2839..47000a6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,9 +3,9 @@ plugins { id("signing") id("maven-publish") id("project-report") - id("com.diffplug.spotless") version "6.25.0" - id("com.github.ben-manes.versions") version "0.51.0" - id("com.gradleup.nmcp") version "0.0.9" + id("com.diffplug.spotless") version "7.2.1" + id("com.github.ben-manes.versions") version "0.52.0" + id("com.gradleup.nmcp.aggregation").version("1.0.2") } group = "network.lightsail" @@ -107,14 +107,16 @@ signing { sign(publishing.publications["mavenJava"]) } -nmcp { - // https://github.com/GradleUp/nmcp - publishAllProjectsProbablyBreakingProjectIsolation { +nmcpAggregation { + centralPortal { username = System.getenv("SONATYPE_USERNAME") password = System.getenv("SONATYPE_PASSWORD") // publish manually from the portal - publicationType = "USER_MANAGED" + publishingType = "USER_MANAGED" // or if you want to publish automatically - // publicationType = "AUTOMATIC" + // publishingType = "AUTOMATIC" } + + // Publish all projects that apply the 'maven-publish' plugin + publishAllProjectsProbablyBreakingProjectIsolation() } From 058dcb25988b5122b41f37ecc7f7cb8120049ebe Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Sat, 9 Aug 2025 16:37:43 +0800 Subject: [PATCH 2/2] format --- src/main/java/org/stellar/sdkandroidspi/ApacheCodec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/stellar/sdkandroidspi/ApacheCodec.java b/src/main/java/org/stellar/sdkandroidspi/ApacheCodec.java index a26719a..a6a5285 100644 --- a/src/main/java/org/stellar/sdkandroidspi/ApacheCodec.java +++ b/src/main/java/org/stellar/sdkandroidspi/ApacheCodec.java @@ -621,7 +621,7 @@ void decode(final byte[] input, int inPos, final int inAvail, final Context cont // For backwards compatibility 3 & 6 chars are decoded anyway rather than discarded. // See the encode(byte[]) method EOF section. switch (context.modulus) { - // case 0 : // impossible, as excluded above + // case 0 : // impossible, as excluded above case 1: // 5 bits - either ignore entirely, or raise an exception validateTrailingCharacters(); case 2: // 10 bits, drop 2 and output one byte