Skip to content

quanticheart/android-kotlin-js-web

Repository files navigation

Simple Kotlin/js Web

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")
}

remove JCenter

Jcenter is deprecated on new versions of gradle, read more in:

update: replace code in

read.

Problems

  • [webpack-cli] Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema. Read.

  • Process 'Resolving NPM dependencies using yarn' returns 1 Read.

Releases

No releases published

Packages

No packages published