You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'suites' cannot be applied to '(groovy.lang.Closure)'
Expected Behavior
The block should not show any warnings, as it is doing nothing wrong
Context (optional)
I am trying to migrate to jvm-test-suite so I can have my component tests separately from unit tests, but this warning is making it difficult, since it hides any real issues that would arise under the suite.
Steps to Reproduce
Open Intellij.
Create new Java project with gradle and jdk17 and Groovy DSL
Open build.gradle and set to the following
plugins {
id 'java'
id 'jvm-test-suite'
}
group ='org.example'
version ='1.0-SNAPSHOT'testing {
suites {
test {
useJUnitJupiter()
}
integrationTest(JvmTestSuite) {
dependencies {
implementation project()
}
targets {
all {
testTask.configure {
shouldRunAfter(test)
}
}
}
}
}
}
tasks.named('check') {
dependsOn(testing.suites.integrationTest)
}
Gradle version
8.6
Build scan URL (optional)
No response
Your Environment (optional)
Each of:
Intellij IDEA Community 2023.3
Intellij IDEA Community 2024.1
Intellij IDEA Ultimate 2023.3
Intellij IDEA Ultimate 2024.1
Windows 11/Windows 10
JDK 17
The text was updated successfully, but these errors were encountered:
This is an issue with IntelliJ IDEA’s Gradle integration, which is developed by JetBrains and cannot be addressed in the Gradle Build Tool project. We cannot just move the issue.
Current Behavior
testing->suites shows a warning
Expected Behavior
The block should not show any warnings, as it is doing nothing wrong
Context (optional)
I am trying to migrate to jvm-test-suite so I can have my component tests separately from unit tests, but this warning is making it difficult, since it hides any real issues that would arise under the suite.
Steps to Reproduce
Open Intellij.
Create new Java project with gradle and jdk17 and Groovy DSL
Open build.gradle and set to the following
Gradle version
8.6
Build scan URL (optional)
No response
Your Environment (optional)
Each of:
Intellij IDEA Community 2023.3
Intellij IDEA Community 2024.1
Intellij IDEA Ultimate 2023.3
Intellij IDEA Ultimate 2024.1
Windows 11/Windows 10
JDK 17
The text was updated successfully, but these errors were encountered: