Is it expected that publishing snapshots using NMC...
# gradleup
i
Is it expected that publishing snapshots using NMCP is much slower than publishing regular versions? As in 20min for stable versions, 1h+ for snapshots
m
Didn't dive into this much but I don't think nmcp can do much about it.
One thing is that if you were using
maven-publish
before in a multi-project build, you could "amortize" the upload during your build. While nmcp uploads evrything at the end of the build
I could upload in parallel 🤔
Not sure if that would help or cripple the snapshots servers...
i
I wonder
At the moment, ~50% of the snapshot jobs are failing due to the CI 1h timeout
m
I just pushed a SNAPSHOT
Copy code
repositories {
  maven("https://storage.googleapis.com/gradleup/m2"
}

dependencies {
  implementation("com.gradleup.nmcp:com.gradleup.nmcp.gradle.plugin:1.0.4-SNAPSHOT-dd9cb52f964771bd00bc098418adb0dcc3203b07")
}

nmcpAggregation {
  centralPortal {
    uploadSnapshotsParallelism.set(8)
  }
}
This is wildly untested but don't really have the time to dive into this now into a big enough repo but let me know if you try it out
i
Sorry, my setup doesn't allow me to test SNAPSHOT versions of plugins 😕
I'll try to see what I can do 😕
m
Sounds good, let me know. If you can't, I'll enable it in Apollo, see if that brings the time down but that won't be untill later this week
👍 1
Sooo I ended up falling in this rabbit hole and it looks like it helped!
👀 1
🙏 1