Hi, I'd like to ask how to tell gradle I am not us...
# community-support
a
Hi, I'd like to ask how to tell gradle I am not using junit test framework and disable this warning? I am not using junit test in my subproject and I define some normal test cases by my self.
Copy code
./gradlew dataflow:test --warning-mode all

> Task :dataflow:test
No test executed. This behavior has been deprecated. This will fail with an error in Gradle 9.0. There are test sources present but no test was executed. Please check your test configuration. Consult the upgrading guide for further information: <https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#test_task_fail_on_no_test_executed>
c
uhm.. are you not using any test framework? if you are using a different one you should configure that instead. I think this works though since you're disabling testing, you can put that in your specific subproject
build.gradle.kts
Copy code
tasks.withType<Test>().configureEach {
  enabled = false
}
❤️ 1
a
Thank you!