Skip to content

Fix maven release #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 2, 2025
Merged
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
10 changes: 9 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ plugins {
//id("org.jetbrains.kotlinx.dataframe") version "1.0-SNAPSHOT"

application
id("org.jetbrains.dokka") version "2.0.0"
id("org.jetbrains.dokka") version "1.9.20"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason for the downgrade?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to fix the maven central error, but don't think this was the problem. Although this hasn't been fully migrated to 2.0.0, so I think this is good for now. Maybe need another pull request to migrate to 2.0.0 which is more than this version change.

`java-library`
`maven-publish`
signing
Expand Down Expand Up @@ -459,6 +459,13 @@ publishing {
}
}

signing {
val signingKey: String? = System.getenv("JRELEASER_GPG_SECRET_KEY")
val signingPass: String? = System.getenv("JRELEASER_GPG_PASSPHRASE")
useInMemoryPgpKeys(signingKey, signingPass)
sign(publishing.publications["maven"])
}

repositories {
maven {
url = layout.buildDirectory.dir("staging-deploy").get().asFile.toURI()
Expand Down Expand Up @@ -497,6 +504,7 @@ jreleaser {
active.set(Active.ALWAYS)
url.set("https://central.sonatype.com/api/v1/publisher")
stagingRepository("build/staging-deploy")
sign = false
}
}
}
Expand Down
Loading