After clone project, run this command
./gradlew run
###Tip: if you're creating a new project and you're faced with the problem with jcenter being discontinued, do this:
change the code in the build.gradle.kt file from:
repositories {
jcenter()
mavenCentral()
}
dependencies {
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-html:0.7.2")
}
to:
repositories {
maven(url = "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
mavenCentral()
}
dependencies {
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-html-js:0.7.3")
}
Jcenter is deprecated on new versions of gradle, read more in:
update: replace code in
read.