summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/renovate.json4
-rw-r--r--.github/workflows/deploy_github_releases.yml2
-rw-r--r--.github/workflows/deploy_library_releases.yml4
-rw-r--r--.github/workflows/deploy_snapshot.yml2
-rw-r--r--.github/workflows/draft_new_release.yml4
-rw-r--r--.github/workflows/pull_request.yml12
-rw-r--r--.github/workflows/shadow_job.yml2
-rw-r--r--.github/workflows/sync_crowdin.yml2
-rw-r--r--.github/workflows/update_publicsuffix_data.yml4
-rw-r--r--gradle/libs.versions.toml4
10 files changed, 22 insertions, 18 deletions
diff --git a/.github/renovate.json b/.github/renovate.json
index 8efef208..687e4d79 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -7,6 +7,10 @@
{
"matchPackagePatterns": ["^androidx.compose"],
"groupName": "jetpack-compose"
+ },
+ {
+ "matchPackagePatterns": ["^kotlin", "^org.jetbrains.kotlin"],
+ "groupName": "kotlin"
}
]
}
diff --git a/.github/workflows/deploy_github_releases.yml b/.github/workflows/deploy_github_releases.yml
index 3518ef9f..76c4ef42 100644
--- a/.github/workflows/deploy_github_releases.yml
+++ b/.github/workflows/deploy_github_releases.yml
@@ -29,7 +29,7 @@ jobs:
- name: Build release binaries
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: :app:assembleFreeRelease :app:assembleNonFreeRelease :app:bundleNonFreeRelease
+ arguments: --no-configuration-cache :app:assembleFreeRelease :app:assembleNonFreeRelease :app:bundleNonFreeRelease
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
diff --git a/.github/workflows/deploy_library_releases.yml b/.github/workflows/deploy_library_releases.yml
index 6a1c21d0..57180a0e 100644
--- a/.github/workflows/deploy_library_releases.yml
+++ b/.github/workflows/deploy_library_releases.yml
@@ -32,7 +32,7 @@ jobs:
- name: Upload binaries
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository
+ arguments: --no-configuration-cache :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
@@ -42,7 +42,7 @@ jobs:
- name: Close and release repository
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: closeAndReleaseRepository
+ arguments: --no-configuration-cache closeAndReleaseRepository
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
diff --git a/.github/workflows/deploy_snapshot.yml b/.github/workflows/deploy_snapshot.yml
index 8c351d4c..c826d29e 100644
--- a/.github/workflows/deploy_snapshot.yml
+++ b/.github/workflows/deploy_snapshot.yml
@@ -35,7 +35,7 @@ jobs:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
with:
- arguments: collectFreeReleaseApks collectNonFreeReleaseApks -PsentryUploadMappings
+ arguments: --no-configuration-cache collectFreeReleaseApks collectNonFreeReleaseApks -PsentryUploadMappings
- name: Clean secrets
run: scripts/signing-cleanup.sh
diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml
index 3dc6f271..676dbab8 100644
--- a/.github/workflows/draft_new_release.yml
+++ b/.github/workflows/draft_new_release.yml
@@ -69,9 +69,9 @@ jobs:
# that the version number is already correct, and we only need to drop the
# -SNAPSHOT suffix.
if [[ "${CHECKOUT_REF}" == "develop" ]]; then
- ./gradlew --no-daemon clearPreRelease
+ ./gradlew --no-configuration-cache --no-daemon clearPreRelease
else
- ./gradlew --no-daemon bumpPatch
+ ./gradlew --no-configuration-cache --no-daemon bumpPatch
fi
# Commit changes to the versioning
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index db95e51b..41f4ed76 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -42,7 +42,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: spotlessCheck
+ arguments: --no-configuration-cache spotlessCheck
unit-tests:
runs-on: ubuntu-latest
@@ -76,7 +76,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: test -PslimTests
+ arguments: --no-configuration-cache test -PslimTests
- name: (Fail-only) Upload test report
if: "${{ failure() }}"
@@ -117,7 +117,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: assembleFreeDebug assembleNonFreeDebug
+ arguments: --no-configuration-cache assembleFreeDebug assembleNonFreeDebug
check-api:
runs-on: ubuntu-latest
@@ -151,7 +151,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: apiCheck
+ arguments: --no-configuration-cache apiCheck
lint-debug:
runs-on: ubuntu-latest
@@ -185,7 +185,7 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: lintDebug
+ arguments: --no-configuration-cache lintDebug
assemble-release-apks:
runs-on: ubuntu-latest
@@ -219,4 +219,4 @@ jobs:
if: "${{ steps.service-changed.outputs.result == 'true' }}"
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: aNFR
+ arguments: --no-configuration-cache aNFR
diff --git a/.github/workflows/shadow_job.yml b/.github/workflows/shadow_job.yml
index c25690f0..03b8893f 100644
--- a/.github/workflows/shadow_job.yml
+++ b/.github/workflows/shadow_job.yml
@@ -44,4 +44,4 @@ jobs:
env:
GRADLE_VERSION_OVERRIDE_com_android_tools_build_gradle: ${{ matrix.agp-version }}
with:
- arguments: check
+ arguments: --no-configuration-cache check
diff --git a/.github/workflows/sync_crowdin.yml b/.github/workflows/sync_crowdin.yml
index 3f58942e..f3ed12f0 100644
--- a/.github/workflows/sync_crowdin.yml
+++ b/.github/workflows/sync_crowdin.yml
@@ -20,7 +20,7 @@ jobs:
- name: Download new translations from Crowdin
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: crowdin
+ arguments: --no-configuration-cache crowdin
env:
CROWDIN_LOGIN: ${{ secrets.CROWDIN_LOGIN }}
CROWDIN_PROJECT_KEY: ${{ secrets.CROWDIN_PROJECT_KEY }}
diff --git a/.github/workflows/update_publicsuffix_data.yml b/.github/workflows/update_publicsuffix_data.yml
index 537303c3..ad308bfe 100644
--- a/.github/workflows/update_publicsuffix_data.yml
+++ b/.github/workflows/update_publicsuffix_data.yml
@@ -20,7 +20,7 @@ jobs:
- name: Download new publicsuffix data
uses: gradle/gradle-build-action@v2.2.0
with:
- arguments: updatePSL
+ arguments: --no-configuration-cache updatePSL
- name: Compare list changes
run: if [[ $(git diff --binary --stat) != "" ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
@@ -29,7 +29,7 @@ jobs:
uses: gradle/gradle-build-action@v2.2.0
if: "${{ env.UPDATED == 'true' }}"
with:
- arguments: :autofill-parser:test -PslimTests
+ arguments: --no-configuration-cache :autofill-parser:test -PslimTests
- name: Create Pull Request
id: cpr
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index e8ef68b1..8adbf0df 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -5,7 +5,7 @@ compose = "1.2.0-alpha08"
coroutines = "1.6.2"
flowbinding = "1.2.0"
hilt = "2.42"
-kotlin = "1.6.21"
+kotlin = "1.7.0"
leakcanary = "2.9.1"
lifecycle = "2.5.0-rc01"
@@ -41,7 +41,7 @@ aps-zxingAndroidEmbedded = "com.github.android-password-store:zxing-android-embe
build-agp = "com.android.tools.build:gradle:7.2.1"
build-binarycompat = "org.jetbrains.kotlinx:binary-compatibility-validator:0.10.0"
build-download = "de.undercouch:gradle-download-task:5.1.0"
-build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
+build-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.20.0"
build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3"
build-semver = "com.vdurmont:semver4j:3.1.0"