Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pokepaylib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {
minSdkVersion 26
targetSdkVersion 32
versionCode 0
versionName "2.0.13"
versionName "2.0.14"

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

Expand Down Expand Up @@ -65,7 +65,7 @@ uploadArchives {
repositories {
mavenDeployer {
repository url: "file://${repo.absolutePath}"
pom.version = '2.0.13' // version
pom.version = '2.0.14' // version
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

repository(url: "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ private String toJsonString(Map<String, String> map) {
stringBuilder.append("\":\"");
stringBuilder.append(entry.getValue());
stringBuilder.append("\"");
stringBuilder.append(",");
}

int lastCommaIndex = stringBuilder.lastIndexOf(",");
if (lastCommaIndex >= 0) {
stringBuilder.deleteCharAt(lastCommaIndex);
}

stringBuilder.append("}");
Expand Down