Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Could not set unknown property 'binresultsdir' for object of type org.gradle.api.tasks.testing.junitplatform.junitplatformoptions

Getting above titled error message while trying to upgrade java v17 from java v11 using Gradle Wrapper 8.2.1

tests.gradle file code for which error is thrown:

binResultsDir = file("$buildDir/test-results/acceptanceTest-${profile}-${label}/binary")

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Please suggest some solution for my issue

>Solution :

Deprecated binResultsDir has been removed in 8.X versions of Gradle, consider using binaryResultsDirectory: DirectoryProperty property instead.

Read more: https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html#N30D2A

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading