plugins { application kotlin("plugin.serialization") } dependencies { // Android stub library implementation(fileTree("lib/")) // JSON compileOnly("com.google.code.gson:gson:2.8.6") // XML compileOnly(group= "xmlpull", name= "xmlpull", version= "1.1.3.1") // Config API implementation(project(":AndroidCompat:Config")) // APK sig verifier compileOnly("com.android.tools.build:apksig:4.2.0-alpha13") // AndroidX annotations compileOnly("androidx.annotation:annotation:1.2.0-alpha01") // substitute for duktape-android implementation("org.mozilla:rhino-runtime:1.7.13") // slimmer version of 'org.mozilla:rhino' implementation("org.mozilla:rhino-engine:1.7.13") // provides the same interface as 'javax.script' a.k.a Nashorn // Kotlin wrapper around Java Preferences, makes certain things easier val multiplatformSettingsVersion = "0.7.7" implementation("com.russhwolf:multiplatform-settings-jvm:$multiplatformSettingsVersion") implementation("com.russhwolf:multiplatform-settings-serialization-jvm:$multiplatformSettingsVersion") // Android version of SimpleDateFormat implementation("com.ibm.icu:icu4j:69.1") } tasks { withType { kotlinOptions.freeCompilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn") } }