summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-11-28 17:02:24 +0300
committerAndrew Dolgov <fox@fakecake.org>2024-11-28 17:02:24 +0300
commit29646ee42970e9b458de74eb3655a49bc709787d (patch)
tree699be49ca1a3e4a1f9e9126bd4662ae413e1abf8
parent034925ae9ad77db153f9863a1930c5cb59ff2106 (diff)
downloadthe-epube-android-29646ee42970e9b458de74eb3655a49bc709787d.tar.gz
the-epube-android-29646ee42970e9b458de74eb3655a49bc709787d.tar.xz
bump gradle & target SDK
-rw-r--r--build.gradle2
-rw-r--r--gradle/wrapper/gradle-wrapper.properties2
-rw-r--r--org.fox.epube/build.gradle12
-rw-r--r--org.fox.epube/src/main/AndroidManifest.xml3
4 files changed, 13 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle
index c2e8024..0125e0e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,7 @@ buildscript {
         jcenter()

     }

     dependencies {

-        classpath 'com.android.tools.build:gradle:3.5.2'

+        classpath 'com.android.tools.build:gradle:4.0.2'

         

         // NOTE: Do not place your application dependencies here; they belong

         // in the individual module build.gradle files

diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 0464269..07d4f10 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists

 zipStoreBase=GRADLE_USER_HOME

 zipStorePath=wrapper/dists

-distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

diff --git a/org.fox.epube/build.gradle b/org.fox.epube/build.gradle
index b89e2c5..e2a289d 100644
--- a/org.fox.epube/build.gradle
+++ b/org.fox.epube/build.gradle
@@ -1,12 +1,18 @@
 apply plugin: 'com.android.application'

 

 android {

-    compileSdkVersion 29

+    compileSdkVersion 31

     buildToolsVersion "29.0.2"

+

+    compileOptions {

+        sourceCompatibility JavaVersion.VERSION_1_8

+        targetCompatibility JavaVersion.VERSION_1_8

+    }

+

     defaultConfig {

         applicationId "org.fox.epube"

         minSdkVersion 24

-        targetSdkVersion 29

+        targetSdkVersion 31

         versionCode 8

         versionName "1.7"

         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

@@ -46,7 +52,7 @@ android {
 

 dependencies {

     implementation fileTree(dir: 'libs', include: ['*.jar'])

-    implementation 'androidx.appcompat:appcompat:1.1.0'

+    implementation 'androidx.appcompat:appcompat:1.6.0'

     implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

     implementation 'androidx.webkit:webkit:1.9.0'

     testImplementation 'junit:junit:4.12'

diff --git a/org.fox.epube/src/main/AndroidManifest.xml b/org.fox.epube/src/main/AndroidManifest.xml
index 4b461ff..c6a0b3e 100644
--- a/org.fox.epube/src/main/AndroidManifest.xml
+++ b/org.fox.epube/src/main/AndroidManifest.xml
@@ -18,7 +18,8 @@
         tools:ignore="GoogleAppIndexingWarning">

 

         <activity

-            android:name=".LaunchActivity">

+            android:name=".LaunchActivity"

+            android:exported="true">

             <intent-filter>

                 <action android:name="android.intent.action.MAIN" />