@Override
  public void invalidateCaches() {
    super.invalidateCaches();
    if (state.myGradleHomes != null) {
      state.myGradleHomes.clear();
    }
    if (state.myGradleVersions != null) {
      state.myGradleVersions.clear();
    }
  }
@Override
  public void invalidateCaches()