plugins { id "kotlin" } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } } dependencies { implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0" implementation "org.json:json:20211205" testImplementation "junit:junit:4.13.2" testImplementation "org.mockito:mockito-core:4.3.1" testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0" }