37 lines
711 B
Plaintext
37 lines
711 B
Plaintext
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||
|
|
||
|
plugins {
|
||
|
id("java")
|
||
|
kotlin("jvm") version "1.4.32"
|
||
|
}
|
||
|
|
||
|
group = "com.cubetiqs"
|
||
|
version = "0.0.1-SNAPSHOT"
|
||
|
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation("com.squareup.okhttp3:okhttp:4.9.0")
|
||
|
|
||
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
||
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||
|
|
||
|
testImplementation("org.junit.jupiter:junit-jupiter:5.7.0")
|
||
|
}
|
||
|
|
||
|
tasks.withType<KotlinCompile> {
|
||
|
kotlinOptions {
|
||
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
||
|
jvmTarget = "1.8"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
tasks.test {
|
||
|
useJUnitPlatform()
|
||
|
testLogging {
|
||
|
events("passed", "skipped", "failed")
|
||
|
}
|
||
|
}
|