This (Groovy version) does not seem to work: ``` t...
# gradle
s
This (Groovy version) does not seem to work:
Copy code
test {
	useJUnitPlatform()
}
Ok thanks, should I create an issue for more first class support ?
Copy code
withType<Test> {
		useJUnitPlatform()
	}
seems to work also
1
But
useJUnitPlatform
is red in IDEA (works fine on command line)
b
Creating an issue won’t be necessary, thanks.
The
withType<Test>
solution will enable the JUnit platform for all test tasks so it’s a little different than the original Groovy version
s
Ok
m
i think i ran into an issue with intellij not using the wrapper version i updated to on the CLI for the module i had to do the dread Invalidate and Restart to get the IDE support working again