Hi, im trying to compile ktor from master, but im ...
# ktor
j
Hi, im trying to compile ktor from master, but im getting the error message
Cannot change attributes of configuration ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2:posixApiElements' after it has been resolved
Anyone who knows a quickfix for that?
e
Hi @Jens Baitinger, could you provide your gradle configuration?
j
I just use the defaults
today I figured out the problems come from ktor-server/ktor-server-jetty/ktor-server-jetty-test-http2/build.gradle:21 when I comment this line all the errors disapear. What is strange is that this section is just about the JVM and not about the plattforns that throw the error: (here is the full list of errors:
Copy code
* What went wrong:
A problem occurred configuring project ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2'.
> Failed to notify project evaluation listener.
   > Cannot change attributes of configuration ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2:linuxX64ApiElements' after it has been resolved
   > Cannot change attributes of configuration ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2:macosX64ApiElements' after it has been resolved
   > Cannot change attributes of configuration ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2:mingwX64ApiElements' after it has been resolved
   > Cannot change attributes of configuration ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2:iosArm64ApiElements' after it has been resolved
   > Cannot change attributes of configuration ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2:iosArm32ApiElements' after it has been resolved
   > Cannot change attributes of configuration ':ktor-server:ktor-server-jetty:ktor-server-jetty-test-http2:iosX64ApiElements' after it has been resolved