]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/build.gradle
Convert AboutViewSourceDialog to Kotlin. https://redmine.stoutner.com/issues/518
[PrivacyBrowserAndroid.git] / app / build.gradle
index a7d278bb1ab6ab7f6fa4787cc981416ae3d79e6d..5ca89f82384ef4b2bb014b3d7b83a28eda8c4d88 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2016-2019 Soren Stoutner <soren@stoutner.com>.
+ * Copyright © 2016-2020 Soren Stoutner <soren@stoutner.com>.
  *
  * This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
  *
@@ -18,6 +18,8 @@
  */
 
 apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android-extensions'
+apply plugin: 'kotlin-android'
 
 android {
     compileSdkVersion 29
@@ -26,8 +28,8 @@ android {
     defaultConfig {
         minSdkVersion 19
         targetSdkVersion 29
-        versionCode 46
-        versionName "3.2"
+        versionCode 47
+        versionName "3.3"
     }
 
     buildTypes {
@@ -64,6 +66,10 @@ android {
     }
 }
 
+repositories {
+    mavenCentral()
+}
+
 dependencies {
     implementation fileTree(include: ['*.jar'], dir: 'libs')
 
@@ -72,11 +78,16 @@ dependencies {
     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.0.0'
+    implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
+    implementation "androidx.core:core-ktx: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'
+
+    // Include the Kotlin standard libraries
+    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61"
 
     // Include the Google material library.
     implementation 'com.google.android.material:material:1.0.0'