mbonnin
11/06/2023, 12:13 PMkotlin-dom-api-compat
in my dependencies but I'm not sure where it's coming from?Edoardo Luppi
11/06/2023, 1:05 PMkotlin-stdlib
). You may be able to exclude it using the usual Gradle way.mbonnin
11/06/2023, 1:06 PMEdoardo Luppi
11/06/2023, 1:13 PMproject.configurations.all {
exclude(group = "org.jetbrains.kotlin", module = "kotlin-dom-api-compat")
}
Something like this seem to work to avoid getting it into the classpath.mbonnin
11/06/2023, 1:16 PMkotlin.js.stdlib.dom.api.included=false
Edoardo Luppi
11/06/2023, 1:16 PMmbonnin
11/06/2023, 1:16 PMEdoardo Luppi
11/06/2023, 1:17 PMmbonnin
11/06/2023, 1:20 PMEdoardo Luppi
11/06/2023, 1:20 PMDocument
turansky
11/06/2023, 8:15 PM1.9.20
I also saw related task property noStdlib
Ilya Goncharov [JB]
11/07/2023, 10:07 AMkotlin-dom-api-compat
earlier was part of stdlib, and during extraction of DOM API from stdlib, we were aware of backward compatibility and that’s why this dependency included by defult.
Yes this default can be changed via kotlin.js.stdlib.dom.api.included=false
We consider possibility to change default and not include this dependency by defaultEdoardo Luppi
11/07/2023, 12:15 PMkotlin.js.stdlib.dom.api.included=false
by default, then I agree.