Skip to content

Commit

Permalink
Merge branch 'main' into add-progress-percentage-to-book-overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuie authored Jan 13, 2025
2 parents effeaa0 + 59da4a1 commit 50fba91
Show file tree
Hide file tree
Showing 189 changed files with 2,781 additions and 1,689 deletions.
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ ktlint_standard_filename = disabled
ktlint_standard_function-naming = disabled
ktlint_standard_backing-property-naming = disabled
ktlint_code_style = intellij_idea
ktlint_standard_function-expression-body = disabled
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 2
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 2
ij_java_class_count_to_use_import_on_demand = 999
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/voice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,20 @@ env:
SIGNING_KEYSTORE_GITHUB: ${{ secrets.SIGNING_KEYSTORE_GITHUB }}
SIGNING_PROPERTIES_GITHUB: ${{ secrets.SIGNING_PROPERTIES_GITHUB }}
GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
VOICE_USE_PROPRIETARY_LIBRARIES: "true"

jobs:
test:
if: github.event_name == 'push' || github.event_name == 'pull_request'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Setup Gradle
uses: gradle/gradle-build-action@v3

- name: Set up JDK
uses: actions/setup-java@v4.2.1
uses: actions/setup-java@v4.6.0
with:
distribution: 'zulu'
java-version: 17
Expand All @@ -52,7 +51,7 @@ jobs:
app/build/reports/*.html
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
uses: mikepenz/action-junit-report@v5
if: always()
with:
report_paths: '**/test-results/**/TEST-*.xml'
Expand All @@ -62,10 +61,10 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62
- uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb

- name: Set up JDK
uses: actions/setup-java@v4.2.1
uses: actions/setup-java@v4.6.0
with:
distribution: 'zulu'
java-version: 17
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ Gemfile.lock
releases
.transifexrc
/plugins/.idea/workspace.xml
/.kotlin
/.idea/deviceManager.xml
2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions .idea/inspectionProfiles/ktlint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 3 additions & 14 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,9 @@ plugins {
id("kotlin-kapt")
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.anvil)
alias(libs.plugins.crashlytics)
alias(libs.plugins.googleServices) apply false
alias(libs.plugins.playPublish)
}

if (file("google-services.json").exists()) {
pluginManager.apply(libs.plugins.googleServices.get().pluginId)
}

play {
defaultToAppBundles.value(true)
val serviceAccountJson = file("play_service_account.json")
Expand Down Expand Up @@ -102,6 +96,7 @@ android {
getByName("debug") {
isMinifyEnabled = false
isShrinkResources = false
applicationIdSuffix = ".debug"
}
all {
setProguardFiles(
Expand Down Expand Up @@ -175,11 +170,10 @@ dependencies {
implementation(projects.cover)
implementation(projects.documentfile)
implementation(projects.onboarding)
implementation(projects.bookmark)

implementation(libs.appCompat)
implementation(libs.recyclerView)
implementation(libs.material)
implementation(libs.constraintLayout)
implementation(libs.datastore)
implementation(libs.appStartup)

Expand All @@ -189,10 +183,6 @@ dependencies {
implementation(libs.materialDialog.input)
implementation(libs.coil)

"proprietaryImplementation"(libs.firebase.crashlytics)
"proprietaryImplementation"(libs.firebase.analytics)
"proprietaryImplementation"(libs.firebase.remoteconfig)
"proprietaryImplementation"(projects.logging.crashlytics)
"proprietaryImplementation"(projects.review.play)
"libreImplementation"(projects.review.noop)

Expand All @@ -214,8 +204,7 @@ dependencies {

implementation(libs.conductor)

implementation(libs.prefs.android)
testImplementation(libs.prefs.inMemory)
implementation(projects.pref)

testImplementation(libs.androidX.test.runner)
testImplementation(libs.androidX.test.junit)
Expand Down
6 changes: 5 additions & 1 deletion app/src/main/kotlin/voice/app/features/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.net.toUri
import androidx.datastore.core.DataStore
Expand All @@ -17,9 +18,9 @@ import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import voice.app.AppController
import voice.app.features.bookOverview.EditCoverDialogController
import voice.app.features.bookmarks.BookmarkController
import voice.app.injection.appComponent
import voice.app.misc.conductor.asVerticalChangeHandlerTransaction
import voice.bookmark.BookmarkController
import voice.common.BookId
import voice.common.navigation.Destination
import voice.common.navigation.NavigationCommand
Expand Down Expand Up @@ -57,6 +58,9 @@ class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
appComponent.inject(this)
super.onCreate(savedInstanceState)

enableEdgeToEdge()

val root = ChangeHandlerFrameLayout(this)
setContentView(root)

Expand Down
163 changes: 0 additions & 163 deletions app/src/main/kotlin/voice/app/features/bookmarks/BookmarkController.kt

This file was deleted.

Loading

0 comments on commit 50fba91

Please sign in to comment.