Exclude Firebase from Google Services 9.0.0
<p>I'm trying to get rid of Firebase because it's apparently included in latest Google Services. I'm using Analytics so I added this dependency to my <code>build.gradle</code></p>

<pre><code>compile 'com.google.android.gms:play-services-analytics:9.0.0'
</code></pre>

<p>When I tried to update my app at Google Play I noticed two new (GCM) permissions</p>

<pre><code>com.google.android.c2dm.permission.RECEIVE
org.indywidualni.somepackage.permission.C2D_MESSAGE
</code></pre>

<p>I discovered they are added by new Services automatically because of Firebase. I don't use Firebase so I decided just to exclude it from project. How can I do it?</p>