hi folks - fyi that jetbrains uploaded a new, JDK ...
# dokka
z
hi folks - fyi that jetbrains uploaded a new, JDK 11-only version of
org.jetbrains:markdown
(which dokka depends on) to maven central yesterday with the same version that's on jcenter. If you haven't set up your repo to only source it from jcenter, your builds will almost certainly break imminently if you don't have a cached version of the dep local. Easy way to test is
./gradlew help --refresh-dependencies
l
It just broke for me. 🤦 Thanks for the insights.
m
Is there a way to fix this?
l
I was lucky and we were able to just ditch maven central. Not sure if there is a different way. 🤔
z
What Lukas said is the right approach, but we've had issues with that in kotlin dsl
an easy but unfortunate last resort is to move jcenter ahead of central until a fixed version is released
👍 1
m
So this fixed it for me. Tried it before, but forget to add to the plugins repositories section.
Copy code
mavenCentral {
            content {
                excludeModule("org.jetbrains", "markdown")
            }
        }
Since I'm trying to get off of jcenter and on to mavenCentral, removing mavenCentral didn't make sense.
k
I has been fixed, you’ll have to clean the caches manually I believe: https://github.com/JetBrains/markdown/issues/70
z
cleaning caches has not resolved this in my experience
I think they need to release a new 0.1.46 copy instead of trying to trick package managers
looks like that's what they just did 👍