Making sure script works also for Gradle plugins (non-android modules)