How to find all available properties and methods of a gradle plugin in Android Studio?

Viewed 333

Is there a way to find all available properties and methods of a Gradle Plugin, or does it purely rely on documentation?

Am I missing a Gradle command or window in Android Studio that shows me all available options? Without it I would practically have to guess...

In this particular case I'm looking for more information on the Firebase Crashlytics Gradle Plugin.

com.google.firebase:firebase-crashlytics-gradle

Edit

To make myself more clear, in the following example taken from Firebase docs how would I find out which methods I can use within the firebaseCrashlytics block.

apply plugin: 'com.android.application'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'com.google.gms.google-services'

android {
    // ...

    buildTypes {
        debug {
            minifyEnabled true
            firebaseCrashlytics {
                // If you don't need crash reporting for your debug build,
                // you can speed up your build by disabling mapping file uploading.
                mappingFileUploadEnabled false
            }
        }

        release {
            minifyEnabled true
            // When minifyEnabled is set to true, Crashlytics automatically
            // uploads mapping files because the plugin detects that obfuscation
            // is enabled. mappingFileUploadEnabled defaults to true if
            // minifyEnabled is true.
        }
    }
}
1 Answers

If you run:

./gradlew tasks

It should provide you with a list of different tasks.

Related