public boolean hasAndroidPlugin(){
  List<String> plugins=getPlugins();
  return plugins.contains(GradleDetector.APP_PLUGIN_ID) || plugins.contains(GradleDetector.OLD_APP_PLUGIN_ID) || plugins.contains(GradleDetector.LIB_PLUGIN_ID)|| plugins.contains(GradleDetector.OLD_LIB_PLUGIN_ID);
}

public boolean hasAndroidPlugin ( ) { List < String > plugins = getPlugins ( ) ; return plugins . contains ( GradleDetector . APP_PLUGIN_ID ) || plugins . contains ( GradleDetector . OLD_APP_PLUGIN_ID ) || plugins . contains ( GradleDetector . LIB_PLUGIN_ID ) || plugins . contains ( GradleDetector . OLD_LIB_PLUGIN_ID ) ; }
returns true if the build file uses the android or android - library plugin .
