implemented provider states for the gradle plugin