We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72d29a commit af0316cCopy full SHA for af0316c
main/src/kotlinx/team/infra/Publishing.kt
@@ -255,7 +255,7 @@ private fun Project.createVersionPrepareTask(publishing: PublishingConfiguration
255
return task<DefaultTask>("publishPrepareVersion") {
256
group = PublishingPlugin.PUBLISH_TASK_GROUP
257
doFirst {
258
- val ext = extensions.getByType(ExtraPropertiesExtension::class.java)
+ val ext = project.extensions.getByType(ExtraPropertiesExtension::class.java)
259
if (publishing.sonatype.isSelected && ext.get("infra.release") != true) {
260
throw KotlinInfrastructureException("Cannot publish development version to Sonatype.")
261
}
0 commit comments