szpak / gradle-pitest-plugin

Gradle plugin for PIT Mutation Testing
http://gradle-pitest-plugin.solidsoft.info/
221 stars 58 forks source link

Task 'pitest' not found in root project #332

Closed JackyLiang522 closed 1 year ago

JackyLiang522 commented 1 year ago

I tried to run gradle pitest for this Android project. It showed an error that says Task 'pitest' not found in root project. I have added the pitest plugin in the build.gradle.kts as follows:

plugins {
  id("info.solidsoft.pitest") version "1.9.0"
}
szpak commented 1 year ago

For just the others bumping into that issues, this plugin is not compatible with the Android projects (just pure Java projects) and the Android fork should be used instead.