Closed Bhumika2005 closed 1 month ago
Please reformat you question to make the code readable: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
Thanks.
Now, I've realized it's an Android app. There's a dedicated plugin variant made especially for the Android projects: https://github.com/koral--/gradle-pitest-plugin/ . You could give it a try.
Thank you!
In demo project, I have added pitest plugin in libs.versions.toml as below:
Then added plugin in app build.gradle => build.gradle.kts(:app)
build successful but ./gradlew pitest didn't work and getting error as below ::
Then I found this issue link and tried the same way
Added dependency in app build.gradle.kts along with above change
still same error message - "Task 'pitest' not found in root project 'TestPitest' and its subprojects. Some candidates are: 'test' "
Also added plugin / buildscript dependencies in root project build.gradle but nothing works.
Getting same error message everytime.