Browse Source

Fix Maven Central publication tool (#5232)

Fixes
https://youtrack.jetbrains.com/issue/CMP-7603/Fix-Maven-Central-publication

- Update Space API to almost the latest
  - the most latest requires Ktor Eap lib
  - it is no longer depends on the broken `net.minidev:json-smart`
- Add artifact verification to avoid some security issues in the
publication process

# Testing
The command from the issue passes configuration phase, and fails with:
```
java.lang.IllegalStateException: Provide value for 'maven.central.sign.key' Gradle property or 'MAVEN_CENTRAL_SIGN_KEY' environment variable
```

The actual test we can only do on CI, that artifacts are successfully
uploaded to the stage.

# Release Notes
N/A
pull/5233/head
Igor Demin 10 months ago committed by GitHub
parent
commit
4d9f3766ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      ci/build-helpers/buildSrc/build.gradle.kts
  2. 2013
      ci/build-helpers/gradle/verification-metadata.xml

4
ci/build-helpers/buildSrc/build.gradle.kts

@ -3,7 +3,7 @@ import org.gradle.kotlin.dsl.gradleKotlinDsl @@ -3,7 +3,7 @@ import org.gradle.kotlin.dsl.gradleKotlinDsl
plugins {
`java`
`java-gradle-plugin`
kotlin("jvm") version "1.9.24"
kotlin("jvm") version "2.1.10"
}
repositories {
@ -21,6 +21,6 @@ dependencies { @@ -21,6 +21,6 @@ dependencies {
implementation("io.ktor:ktor-client-okhttp:1.6.4")
implementation("org.apache.tika:tika-parsers:1.24.1")
implementation("org.jsoup:jsoup:1.14.3")
implementation("org.jetbrains:space-sdk-jvm:83821-beta")
implementation("org.jetbrains:space-sdk-jvm:2024.3-185883")
implementation("de.undercouch:gradle-download-task:4.1.2")
}

2013
ci/build-helpers/gradle/verification-metadata.xml

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save