Move the versions of dependencies to the gradle.properties file and introduce jvm arguments & gradle properties definitions
This commit is contained in:
parent
ea9b852e4a
commit
47fcf7b32d
|
@ -11,7 +11,8 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
implementation(kotlin("stdlib-js"))
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-html:0.7.3")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-html:${rootProject.property("kotlinx-html_version")}")
|
||||
implementation("io.ktor:ktor-client-core:${rootProject.property("ktor_version")}")
|
||||
}
|
||||
|
||||
val outputDirectory = file("$rootDir/compiledOutput")
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
org.gradle.daemon=false
|
||||
kotlin.code.style=official
|
||||
org.gradle.jvmargs=-Xmx2G -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+AlwaysPreTouch
|
||||
kotlin.incremental=true
|
||||
org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
||||
org.gradle.unsafe.configuration-cache=on
|
||||
org.gradle.vfs.watch=true
|
||||
|
||||
kotlinx-html_version=0.7.3
|
||||
ktor_version=1.6.0
|
Loading…
Reference in New Issue