Compare commits

..

14 Commits

Author SHA1 Message Date
Daniel Micay 30b8769ed2 update Gradle to 8.0.2 2023-03-10 13:40:06 -05:00
Daniel Micay f6127ca0e0 update Android Gradle plugin to 7.4.2 2023-03-10 13:40:02 -05:00
octocorvus 0c6dcd35a7 Revert "Update pdf.js to v3.2.146"
This reverts commit e34c727ff7.

Temporarily revert pdf.js update as versions equal to or greater
than this breaks our text layer rendering.
2023-02-27 10:56:06 -05:00
Daniel Micay 1e5988346c update Gradle to 8.0.1 2023-02-24 15:37:12 -05:00
amalgame21 8d44658c80 Always shows previous and next page button in any Display size 2023-02-19 10:01:40 -05:00
Daniel Micay 6db24ef23d update build tools version to 33.0.2 2023-02-11 05:36:29 -05:00
Daniel Micay deba479a69 update AndroidX appcompat library to 1.6.1 2023-02-08 14:45:45 -05:00
Daniel Micay 7703b1a175 update Kotlin to 1.8.10 2023-02-04 07:06:08 -05:00
Daniel Micay d0c95f5478 update copyright notice 2023-02-01 23:37:39 -05:00
Daniel Micay f60cd27e65 update Kotlin Gradle plugin to 1.8.0 2023-02-01 22:00:06 -05:00
Daniel Micay a25d0a4405 update Kotlin Gradle plugin to 1.8.0 2023-02-01 21:58:53 -05:00
Daniel Micay 424010af1c use Gradle toolchain support 2023-02-01 21:43:25 -05:00
Daniel Micay 284fc306fc update Material library to 1.8.0 2023-02-01 20:47:56 -05:00
Daniel Micay d78e15b1b1 update Android Gradle plugin to 7.4.1 2023-02-01 20:32:07 -05:00
9 changed files with 769 additions and 374 deletions

View File

@ -1,4 +1,4 @@
Copyright © 2017-2022 GrapheneOS
Copyright © 2017-2023 GrapheneOS
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -13,6 +13,12 @@ plugins {
id("kotlin-android")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
android {
if (useKeystoreProperties) {
signingConfigs {
@ -33,7 +39,7 @@ android {
}
compileSdk = 33
buildToolsVersion = "33.0.1"
buildToolsVersion = "33.0.2"
namespace = "app.grapheneos.pdfviewer"
@ -84,6 +90,6 @@ android {
}
dependencies {
implementation("androidx.appcompat:appcompat:1.6.0")
implementation("com.google.android.material:material:1.7.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.8.0")
}

View File

@ -11,13 +11,13 @@
android:id="@+id/action_previous"
android:icon="@drawable/ic_navigate_before_24dp"
android:title="@string/action_previous"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/action_next"
android:icon="@drawable/ic_navigate_next_24dp"
android:title="@string/action_next"
app:showAsAction="ifRoom" />
app:showAsAction="always" />
<item
android:id="@+id/action_open"

View File

@ -4,8 +4,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.4.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.22")
classpath("com.android.tools.build:gradle:7.4.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
}
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=7ba68c54029790ab444b39d7e293d3236b2632631fb5f2e012bb28b4ff669e4b
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionSha256Sum=ff7bf6a86f09b9b2c40bb8f48b25fc19cf2b2664fd1d220cd7ab833ec758d0d7
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

4
gradlew vendored
View File

@ -144,7 +144,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@ -152,7 +152,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac

@ -1 +1 @@
Subproject commit 5f07d5a4159bb99eee2f6143d1297f03b45bba58
Subproject commit eb245b8de89c8d631d175ae937136de54ea3ed51