Skip to content

Commit

Permalink
maestro-test: rewrite buildscript to KTS (#1991)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia authored Aug 30, 2024
1 parent 56d4069 commit 843ae8d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions maestro-test/build.gradle → maestro-test/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile

plugins {
alias(libs.plugins.kotlin.jvm)
Expand All @@ -11,16 +10,16 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8
}

tasks.named("compileKotlin", KotlinCompilationTask) {
tasks.named("compileKotlin", KotlinCompilationTask::class.java) {
compilerOptions {
freeCompilerArgs.addAll("-Xjdk-release=1.8")
}
}

dependencies {
implementation project(":maestro-orchestra")
implementation project(":maestro-client")
implementation project(":maestro-utils")
implementation(project(":maestro-orchestra"))
implementation(project(":maestro-client"))
implementation(project(":maestro-utils"))

implementation(libs.google.truth)
implementation(libs.square.okio)
Expand All @@ -31,6 +30,6 @@ dependencies {
testImplementation(libs.wiremock.jre8)
}

test {
tasks.named<Test>("test") {
useJUnitPlatform()
}

0 comments on commit 843ae8d

Please sign in to comment.