X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=6b78da9eef5efd3d0db81799756d9d3aa909354d;hp=a98b368d1945966d247b954d38bb498494157074;hb=01d647c09b892384e0b42e86b000b5cb858f7a2b;hpb=eeb6f383b74980bc29ff1ecab8f6c3eb6ac17d54 diff --git a/app/build.gradle b/app/build.gradle index a98b368d..6b78da9e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,5 @@ /* - * Copyright © 2016-2018 Soren Stoutner . + * Copyright © 2016-2019 Soren Stoutner . * * This file is part of Privacy Browser . * @@ -20,14 +20,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 27 - buildToolsVersion '27.0.3' + compileSdkVersion 29 + buildToolsVersion '29.0.2' defaultConfig { minSdkVersion 19 - targetSdkVersion 27 - versionCode 35 - versionName "2.12" + targetSdkVersion 29 + versionCode 46 + versionName "3.2" } buildTypes { @@ -62,20 +62,26 @@ android { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } - - // Allow the releases to be built even though the versions of the support and consent libraries don't match (Privacy Browser doesn't use the consent library form, so it doesn't matter). - lintOptions { - abortOnError false - } } dependencies { 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' + // Include the following AndroidX libraries. + implementation 'androidx.arch.core:core-common:2.1.0' + implementation 'androidx.arch.core:core-runtime:2.1.0' + implementation 'androidx.appcompat:appcompat:1.1.0' + implementation 'androidx.cardview:cardview:1.0.0' + implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0' + implementation 'androidx.drawerlayout:drawerlayout:1.0.0' + implementation 'androidx.preference:preference:1.1.0' + implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' + implementation 'androidx.viewpager:viewpager:1.0.0' + implementation 'androidx.webkit:webkit:1.1.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' + // Include the Google material library. + implementation 'com.google.android.material:material:1.0.0' + + // Only compile Firebase ads for the free flavor. + freeImplementation 'com.google.firebase:firebase-ads:18.3.0' } \ No newline at end of file