spek
spek copied to clipboard
Could not find spek-dsl-metadata 2.0.17
Looks like most artifacts on maven central are on 2.0.17 except for spek-dsl-metadata and spek-runtime-metadata:

source: https://search.maven.org/search?q=org.spekframework.spek2
That is problematic as some of the other modules (like spek-dsl-jvm) depend on the spek-dsl-metadata
I removed the metadata publishing since I thought it was not needed anymore 🤦🏽 - what error are you getting @jcornaz?
Hi @raniejade, I get this error:
Could not find org.spekframework.spek2:spek-dsl-metadata:2.0.17.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/spekframework/spek2/spek-dsl-metadata/2.0.17/spek-dsl-metadata-2.0.17.pom
- https://jcenter.bintray.com/org/spekframework/spek2/spek-dsl-metadata/2.0.17/spek-dsl-metadata-2.0.17.pom
- https://jitpack.io/org/spekframework/spek2/spek-dsl-metadata/2.0.17/spek-dsl-metadata-2.0.17.pom
Required by:
project :share:util > project :share:test-util > org.spekframework.spek2:spek-dsl-jvm:2.0.17
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Thanks @looserkevin - honestly I remember the docs saying metadata module shouldn't be needed anymore. But anyway, I'll work on it.
Thanks @raniejade.
It is kind of strange because I don't see the error @looserkevin do (we work together on the same codebase).
However, if I manually look at https://repo1.maven.org/maven2/org/spekframework/spek2/spek-dsl-jvm/2.0.17/spek-dsl-jvm-2.0.17.module I see (at line 39):
{
"name": "metadataApiElements-published",
"attributes": {
"org.gradle.usage": "kotlin-api",
"org.jetbrains.kotlin.platform.type": "common"
},
"available-at": {
"url": "../../spek-dsl-metadata/2.0.17/spek-dsl-metadata-2.0.17.module",
"group": "org.spekframework.spek2",
"module": "spek-dsl-metadata",
"version": "2.0.17"
}
}
Which basically references the non-existing spek-dsl-metadata version 2.0.17.
Facing the same issue with 2.0.17 metadata
cannot update spek for this reason. Any plan to release a 2.0.18 which includes it again?