- compile fileTree(dir: 'libs', include: ['*.jar'])
- compile 'com.android.support:appcompat-v7:23.2.1'
- compile 'com.android.support:design:23.2.1'
- compile 'com.android.support:support-v4:23.2.1'
- // Only compile com.google.android.gms:play-services-ads for the free version so that the standard version can build of F-Droid.
- freeCompile 'com.google.android.gms:play-services-ads:8.4.0'
-}
+ implementation fileTree(include: ['*.jar'], dir: 'libs')
+ implementation 'com.android.support:design:28.0.0-rc02'
+
+ // 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.6'
+}
\ No newline at end of file