extra[“enableCrashlytics”] is not working in my ne...
# gradle
e
extra[“enableCrashlytics”] is not working in my new build.gradle.kts
t
Copy code
private boolean isPluginEnabled(Object flavors, Object buildType, Object defaultSetting) {
        CallSite[] var4 = $getCallSiteArray();
        Object changedFromDefault = false;
        Object pluginEnabled = true;
        if (DefaultTypeTransformation.booleanUnbox(var4[41].call(var4[42].callGetProperty(var4[43].callGetProperty(buildType)), ENABLE_PLUGIN_PROPERTY))) {
            pluginEnabled = var4[44].call(pluginEnabled, var4[45].call(buildType, ENABLE_PLUGIN_PROPERTY));
            boolean var7 = true;
            changedFromDefault = var7;
        }

        Object flavor = null;
        Iterator var9 = (Iterator)ScriptBytecodeAdapter.castToType(var4[46].call(flavors), Iterator.class);

        while(var9.hasNext()) {
            flavor = var9.next();
            if (DefaultTypeTransformation.booleanUnbox(var4[47].call(var4[48].callGetProperty(var4[49].callGetProperty(flavor)), ENABLE_PLUGIN_PROPERTY))) {
                pluginEnabled = var4[50].call(pluginEnabled, var4[51].call(flavor, ENABLE_PLUGIN_PROPERTY));
                boolean var10 = true;
                changedFromDefault = var10;
            }
        }

        if (!DefaultTypeTransformation.booleanUnbox(changedFromDefault)) {
            return DefaultTypeTransformation.booleanUnbox(defaultSetting);
        } else {
            return DefaultTypeTransformation.booleanUnbox(pluginEnabled);
        }
    }
I am not so great with decompiled groovy but it seems like it is looking for the enabledCrashlytics property starting from the build type object