Skip to content

Commit f31219d

Browse files
authored
chore: bump gradle plugins. (#28)
* chore: bump gradle plugins. * format
1 parent 7971903 commit f31219d

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ jobs:
126126
java-version: ${{ env.JAVA_VERSION }}
127127
distribution: ${{ env.JAVA_DISTRIBUTION }}
128128
- name: Publish to Maven Central
129-
run: ./gradlew publishAllPublicationsToCentralPortal
129+
run: ./gradlew publishAggregationToCentralPortal

build.gradle.kts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ plugins {
33
id("signing")
44
id("maven-publish")
55
id("project-report")
6-
id("com.diffplug.spotless") version "6.25.0"
7-
id("com.github.ben-manes.versions") version "0.51.0"
8-
id("com.gradleup.nmcp") version "0.0.9"
6+
id("com.diffplug.spotless") version "7.2.1"
7+
id("com.github.ben-manes.versions") version "0.52.0"
8+
id("com.gradleup.nmcp.aggregation").version("1.0.2")
99
}
1010

1111
group = "network.lightsail"
@@ -107,14 +107,16 @@ signing {
107107
sign(publishing.publications["mavenJava"])
108108
}
109109

110-
nmcp {
111-
// https://github.com/GradleUp/nmcp
112-
publishAllProjectsProbablyBreakingProjectIsolation {
110+
nmcpAggregation {
111+
centralPortal {
113112
username = System.getenv("SONATYPE_USERNAME")
114113
password = System.getenv("SONATYPE_PASSWORD")
115114
// publish manually from the portal
116-
publicationType = "USER_MANAGED"
115+
publishingType = "USER_MANAGED"
117116
// or if you want to publish automatically
118-
// publicationType = "AUTOMATIC"
117+
// publishingType = "AUTOMATIC"
119118
}
119+
120+
// Publish all projects that apply the 'maven-publish' plugin
121+
publishAllProjectsProbablyBreakingProjectIsolation()
120122
}

src/main/java/org/stellar/sdkandroidspi/ApacheCodec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ void decode(final byte[] input, int inPos, final int inAvail, final Context cont
621621
// For backwards compatibility 3 & 6 chars are decoded anyway rather than discarded.
622622
// See the encode(byte[]) method EOF section.
623623
switch (context.modulus) {
624-
// case 0 : // impossible, as excluded above
624+
// case 0 : // impossible, as excluded above
625625
case 1: // 5 bits - either ignore entirely, or raise an exception
626626
validateTrailingCharacters();
627627
case 2: // 10 bits, drop 2 and output one byte

0 commit comments

Comments
 (0)