Skip to content

Commit b2888e2

Browse files
Flaxoosclaude
andcommitted
fix(release): disable Maven Central validation for snapshot .klib artifacts
Explicitly set applyMavenCentralRules=false for Nexus2 snapshot deployer to prevent validation errors on Kotlin Native .klib files. Native targets produce .klib instead of .jar, which caused NoSuchFileException during deployment verification. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent abbf134 commit b2888e2

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ jreleaser {
316316
active = SNAPSHOT
317317
snapshotUrl = // for ossrh "https://s01.oss.sonatype.org/content/repositories/snapshots/"
318318
"https://central.sonatype.com/repository/maven-snapshots/"
319+
applyMavenCentralRules = false // Disable validation for .klib artifacts
319320
snapshotSupported = true
320321
closeRepository = true
321322
releaseRepository = true

release_log.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)