- compile fileTree(dir: 'libs', include: ['*.jar'])
- compile 'com.android.support:design:23.4.0'
- // Only compile `com.google.android.gms:play-services-ads` for the free flavor.
- freeCompile 'com.google.android.gms:play-services-ads:9.4.0'
-}
+ implementation fileTree(include: ['*.jar'], dir: 'libs')
+ implementation 'com.android.support:design:27.0.2'
+
+ // Only compile Firebase ads for the free flavor.
+ freeImplementation 'com.google.firebase:firebase-ads:15.0.1'
+
+ // Only compile the consent library for the free flavor. It is used to comply with the GDPR in Europe.
+ freeImplementation 'com.google.android.ads.consent:consent-library:1.0.0'
+}
\ No newline at end of file