Move the versions of dependencies to the gradle.properties file and introduce jvm arguments & gradle properties definitions

This commit is contained in:
Username404 2021-06-20 21:05:00 +02:00
parent ea9b852e4a
commit 47fcf7b32d
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
2 changed files with 13 additions and 1 deletions

View File

@ -11,7 +11,8 @@ repositories {
dependencies { dependencies {
implementation(kotlin("stdlib-js")) 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") val outputDirectory = file("$rootDir/compiledOutput")

View File

@ -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