Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 44 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,54 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gradle" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
day: "monday"
time: "05:00"
timezone: "UTC"
open-pull-requests-limit: 10
rebase-strategy: "auto"
labels:
- "Dependencies"
- "Gradle"
commit-message:
prefix: "feat"
prefix: "deps"
include: "scope"
groups:
kotlin-stack:
patterns:
- "org.jetbrains.kotlin*"
- "org.jetbrains.kotlinx*"
- "com.google.devtools.ksp*"
androidx-core:
patterns:
- "androidx*"
google-mobile:
patterns:
- "com.google.*"
testing-libraries:
patterns:
- "junit*"
- "androidx.test*"
- "androidx.benchmark*"
- "io.mockk*"
linting:
patterns:
- "com.pinterest.ktlint*"
- "io.gitlab.arturbosch.detekt*"
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "05:00"
timezone: "UTC"
open-pull-requests-limit: 5
rebase-strategy: "auto"
labels:
- "Dependencies"
- "CI"
commit-message:
prefix: "feat"
prefix: "deps"
include: "scope"
2 changes: 1 addition & 1 deletion .github/workflows/android-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
android.defaults.buildfeatures.buildconfig=true
android.defaults.buildfeatures.buildconfig=true
android.enableJetifier=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536M
android.overridePathCheck=true
1 change: 1 addition & 0 deletions opencloudApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ android {

buildFeatures {
viewBinding true
buildConfig true
}

packagingOptions {
Expand Down
9 changes: 9 additions & 0 deletions opencloudApp/src/main/java/eu/opencloud/android/MainApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,15 @@ class MainApp : Application() {

appContext = applicationContext

// Ensure Logcat shows Timber logs in debug builds
if (BuildConfig.DEBUG) {
try {
Timber.plant(Timber.DebugTree())
} catch (_: Throwable) {
// ignore if already planted
}
}

startLogsIfEnabled()

DebugInjector.injectDebugTools(appContext)
Expand Down
Loading
Loading