- compile fileTree(dir: 'libs', include: ['*.jar'])
- compile 'com.android.support:design:24.2.1'
- // Only compile `com.google.android.gms:play-services-ads` for the free flavor.
- freeCompile 'com.google.android.gms:play-services-ads:9.8.00'
-}
+ implementation fileTree(include: ['*.jar'], dir: 'libs')
+ implementation 'com.android.support:design:28.0.0'
+
+ // Only compile Firebase ads for the free flavor.
+ freeImplementation 'com.google.firebase:firebase-ads:17.0.0'
+
+ // 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.6'
+}
\ No newline at end of file