Skip to content

Commit

Permalink
chore: migrate to intellij gradle plugin 2.x
Browse files Browse the repository at this point in the history
Signed-off-by: Stephane Bouchet <[email protected]>
  • Loading branch information
sbouchet committed Jan 29, 2025
1 parent 1d7bd4a commit 50390b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ tasks.withType<Copy> {
}

val integrationTest by intellijPlatformTesting.testIde.registering {

task {
useJUnitPlatform()
description = "Runs the integration tests."
Expand All @@ -251,13 +252,17 @@ val integrationTest by intellijPlatformTesting.testIde.registering {
classpath = sourceSets["integrationTest"].runtimeClasspath
outputs.upToDateWhen { false }
mustRunAfter(tasks["test"])
systemProperty ("debug-retrofit", "enable")
}
plugins {
robotServerPlugin("0.11.23")
}

dependencies {
testImplementation("com.redhat.devtools.intellij:intellij-common-ui-test-library:0.4.3")
testImplementation("com.squareup.retrofit2:retrofit:2.11.0")
testImplementation("com.squareup.retrofit2:converter-gson:2.11.0")
testImplementation("com.squareup.okhttp3:logging-interceptor:4.12.0")
}
}

Expand Down Expand Up @@ -340,6 +345,7 @@ tasks {
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-tasks.html#runIdeForUiTests
val runIdeForUiTests by intellijPlatformTesting.runIde.registering {
task {
systemProperty ("debug-retrofit", "enable")
jvmArgumentProviders += CommandLineArgumentProvider {
listOf(
"-Drobot-server.port=8580",
Expand Down

0 comments on commit 50390b2

Please sign in to comment.