Morning. When i try to add `kotlinx-html` to my pr...
# announcements
q
Morning. When i try to add
kotlinx-html
to my project, getting an error
Could not transfer artifact org.jetbrains.kotlinx:kotlinx-html:pom:0.7.1
kotlin
1.3.61
Copy code
<dependency>
            <groupId>org.jetbrains.kotlinx</groupId>
            <artifactId>kotlinx-html</artifactId>
            <version>0.7.1</version>
        </dependency>
        <repository>
            <id>jcenter</id>
            <name>jcenter</name>
            <url><https://jcenter.bintray.com></url>
        </repository>
What the reason could be?
l
Your artifact id is incorrect.
kotlinx-html
should be replaced with one of
kotlinx-html-assembly
,
kotlinx-html-common
,
kotlinx-html-js
, or
kotlinx-html-jvm
(depending on your target platform.) See also: https://github.com/Kotlin/kotlinx.html/wiki/Getting-started