Skip to content

Commit 94679b7

Browse files
committed
Fix error in class generation:
``` Could not create task ':waitForCentralPortalPublication'. Could not create task of type 'SonatypeCentralPortalWaitForPublicationTask'. Could not generate a decorated class for type SonatypeCentralPortalWaitForPublicationTask. Cannot have abstract method SonatypeCentralPortalWaitForPublicationTask.getDeploymentId(): Property<String>. ```
1 parent 9e1b759 commit 94679b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/publishing/SonatypeCentralPortalWaitForPublicationTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ abstract class SonatypeCentralPortalWaitForPublicationTask : DefaultTask() {
2424
abstract val deploymentId: Property<String>
2525

2626
@Option(option = "deploymentId", description = "Deployment ID to wait for")
27-
fun setDeploymentId(id: String) {
27+
fun setDeploymentIdFromOption(id: String) {
2828
deploymentId.set(id)
2929
}
3030

0 commit comments

Comments
 (0)