@Override
  public @Nullable String getMainClass() {
    ApplicationPluginConvention applicationPluginConvention = myGradleProject.getConvention().findPlugin(ApplicationPluginConvention.class);
    if (applicationPluginConvention == null) return null;
    return applicationPluginConvention.getMainClassName();
  }
@Override
  public @Nullable String getMainClass()