:wave: Trying to debug an issue, I'm trying to pu...
# ktor
b
👋 Trying to debug an issue, I'm trying to publish Ktor locally so I can try my changes on my project.
./gradlew publishToMavenLocal
seems to only publish the
ktor-bom
artifact - what am I missing?
a
Have you got any error during the publication?
b
No, it's a successful build. I should have mentioned I'm on the 2.3.8 branch, if that changes anything.
a
Maybe there is a conflict with artifacts from the maven central repository.
Or have you changed the version ID?
b
I haven't - but shouldn't I be able to publish locally no matter what?
a
You should be able to do it anyway. How do you check the publishing status?
b
I just had a look at
~/.m2/repository/io/ktor
and only
ktor-bom
is there. But also I can see that the build is very fast, and nothing is being compiled 😅. I suppose this should take a few minutes.
a
I will try to build it myself and will share the results.
b
thanks a lot 🙏
a
I've got the compilation error:
Copy code
> Task :ktor-utils:compileKotlinJvm FAILED
e: file:///home/stexe/projects/ktor/ktor-utils/jvm/src/io/ktor/util/cio/ReadersJvm.kt:14:2 Unresolved reference: InternalAPI
🤔 1
e
Could you try it with
--no-build-cache
argument?
👀 1
b
Could you try it with
--no-build-cache
argument?
Same thing
Just tried on the
main
branch and
publishToMavenLocal
works as expected there. So I guess it's a problem only on 2.x. That's ok for me I can continue experimenting on 3.x instead.