Skip to content

Commit

Permalink
Fix V5 VerifySignature encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
valentunn committed Dec 13, 2024
1 parent 6ebe6dd commit 98ce821
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion maven-publish-helper.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ afterEvaluate {

// Adds javadocs and sources as separate jars.
// artifact androidJavadocsJar
artifact androidSourcesJar
artifact(androidSourcesJar) {
classifier 'sources'
}

// You can customize attributes of the publication here or in module's build.gradle file.
//groupId = 'com.example'
Expand Down Expand Up @@ -94,6 +96,8 @@ afterEvaluate {
password = ossrhPassword
}
}

mavenLocal()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class VerifySignature(

return when (asEnum.name) {
"Disabled" -> null
"Enabled" -> {
"Signed" -> {
val structValue = asEnum.value as Struct.Instance

SignatureInstance(
Expand Down Expand Up @@ -83,7 +83,7 @@ class VerifySignature(
runtimeSnapshot: RuntimeSnapshot,
): Any {
return DictEnum.Entry(
name = "Enabled",
name = "Signed",
value = Struct.Instance(
mapOf(
"signature" to SignatureInstanceConstructor.constructInstance(
Expand Down

0 comments on commit 98ce821

Please sign in to comment.