diff --git a/.github/workflows/dependency_sync.yml b/.github/workflows/dependency_sync.yml deleted file mode 100644 index 30bf8a19..00000000 --- a/.github/workflows/dependency_sync.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: DependencySync - -on: - workflow_dispatch: - pull_request_target: - branches: - - develop - -jobs: - cancel-other-jobs: - - runs-on: ubuntu-latest - - steps: - # cancel previous jobs - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.0 - env: - access_token: '${{ secrets.PSL_UPDATE_TOKEN }}' - - dependency-sync: - - runs-on: ubuntu-latest - - steps: - - - uses: actions/checkout@v2.4.0 - with: - token: ${{ secrets.PSL_UPDATE_TOKEN }} - ref: ${{ github.event.pull_request.head.ref }} - fetch-depth: 0 - - - uses: gradle/wrapper-validation-action@v1 - - - name: Set up JDK - uses : actions/setup-java@v2.4.0 - with : - distribution : 'zulu' - java-version : '17' - cache: 'gradle' - - - uses: gradle/gradle-build-action@v2.0.1 - name: run dependencySync - with: - arguments: | - dependencySync - - # If the copy generated changes, commit and push those changes. - - name: commit changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: sync dependency definitions - commit_options: '--no-verify --signoff' diff --git a/dependency-sync/build.gradle.kts b/dependency-sync/build.gradle.kts deleted file mode 100644 index e8744b6a..00000000 --- a/dependency-sync/build.gradle.kts +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. - * SPDX-License-Identifier: GPL-3.0-only - */ - -plugins { id("com.rickbusarow.gradle-dependency-sync") version "0.11.4" } - -dependencies { - // Build tooling - dependencySync("com.android.tools.build:gradle:7.0.4") - dependencySync("org.jetbrains.kotlinx:binary-compatibility-validator:0.8.0") - dependencySync("org.jetbrains.dokka:dokka-gradle-plugin:1.6.0") - dependencySync("de.undercouch:gradle-download-task:4.1.2") - dependencySync("com.google.dagger:hilt-android-gradle-plugin:2.40.5") - dependencySync("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10") - dependencySync("com.vanniktech:gradle-maven-publish-plugin:0.18.0") - dependencySync("com.squareup.okhttp3:okhttp:4.9.3") - dependencySync("com.vdurmont:semver4j:3.1.0") - dependencySync("com.diffplug.spotless:spotless-plugin-gradle:6.0.5") - dependencySync("org.jetbrains.kotlinx:kover:0.4.4") - - // Kotlin dependencies - dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0") - dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0") - - // AndroidX dependencies - dependencySync("androidx.activity:activity-ktx:1.4.0") - dependencySync("androidx.activity:activity-compose:1.4.0") - dependencySync("androidx.annotation:annotation:1.3.0") - dependencySync("androidx.autofill:autofill:1.2.0-beta01") - dependencySync("androidx.appcompat:appcompat:1.4.0") - dependencySync("androidx.biometric:biometric-ktx:1.2.0-alpha04") - dependencySync("androidx.constraintlayout:constraintlayout:2.1.2") - dependencySync("androidx.core:core-ktx:1.8.0-alpha01") - dependencySync("androidx.documentfile:documentfile:1.1.0-alpha01") - dependencySync("androidx.fragment:fragment-ktx:1.4.0") - dependencySync("androidx.hilt:hilt-navigation-compose:1.0.0-beta01") - dependencySync("androidx.lifecycle:lifecycle-common:2.4.0") - dependencySync("androidx.lifecycle:lifecycle-livedata-ktx:2.4.0") - dependencySync("androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0") - dependencySync("androidx.lifecycle:lifecycle-viewmodel-compose:2.4.0") - dependencySync("com.google.android.material:material:1.6.0-alpha01") - dependencySync("androidx.preference:preference:1.2.0-beta01") - dependencySync("androidx.recyclerview:recyclerview:1.3.0-alpha01") - dependencySync("androidx.recyclerview:recyclerview-selection:1.2.0-alpha01") - dependencySync("androidx.security:security-crypto:1.1.0-alpha03") - dependencySync("androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01") - - // Compose dependencies - dependencySync("androidx.compose.animation:animation:1.1.0-beta04") - dependencySync("androidx.compose.compiler:compiler:1.1.0-beta04") - dependencySync("androidx.compose.foundation:foundation:1.1.0-beta04") - dependencySync("androidx.compose.foundation:foundation-layout:1.1.0-beta04") - dependencySync("androidx.compose.material:material:1.1.0-beta04") - dependencySync("androidx.compose.material3:material3:1.0.0-alpha02") - dependencySync("androidx.compose.runtime:runtime:1.1.0-beta04") - dependencySync("androidx.compose.ui:ui:1.1.0-beta04") - dependencySync("androidx.compose.ui:ui-test-junit4:1.1.0-beta04") - dependencySync("androidx.compose.ui:ui-tooling:1.1.0-beta04") - dependencySync("androidx.compose.ui:ui-util:1.1.0-beta04") - dependencySync("androidx.compose.ui:ui-viewbinding:1.1.0-beta04") - - // Dagger/Hilt dependencies - dependencySync("com.google.dagger:hilt-android:2.40.5") - dependencySync("com.google.dagger:hilt-compiler:2.40.5") - dependencySync("com.google.dagger:hilt-core:2.40.5") - - // Desugaring - dependencySync("com.android.tools:desugar_jdk_libs:1.1.5") - - // First-party libraries - dependencySync("com.github.android-password-store:sublime-fuzzy:1.0.0") - dependencySync("com.github.android-password-store:zxing-android-embedded:4.2.1") - - // Third-party dependencies - dependencySync("org.bouncycastle:bcprov-jdk15on:1.70") - dependencySync("commons-codec:commons-codec:1.14") - dependencySync("net.i2p.crypto:eddsa:0.3.0") - dependencySync("me.zhanghai.android.fastscroll:library:1.1.7") - dependencySync("io.github.reactivecircus.flowbinding:flowbinding-android:1.2.0") - dependencySync("org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r") - dependencySync("com.michael-bull.kotlin-result:kotlin-result:1.1.13") - dependencySync("com.squareup.leakcanary:leakcanary-android:2.7") - dependencySync("com.squareup.logcat:logcat:0.1") - dependencySync("de.maxr1998:modernandroidpreferences:2.2.1") - dependencySync("org.pgpainless:pgpainless-core:1.0.0-rc7") - dependencySync("com.squareup.leakcanary:plumber-android:2.7") - dependencySync("com.hierynomus:sshj:0.32.0") - dependencySync("com.github.open-keychain.open-keychain:sshauthentication-api:5.7.5") - dependencySync("com.github.haroldadmin:WhatTheStack:0.3.1") - dependencySync("com.google.android.gms:play-services-auth-api-phone:18.0.0") - - // Testing dependencies - dependencySync("junit:junit:4.13.2") - dependencySync("org.jetbrains.kotlin:kotlin-test-junit:1.6.10") - dependencySync("org.robolectric:robolectric:4.7.3") - dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0") - dependencySync("org.jetbrains.kotlin:kotlin-test-junit:1.6.0") - dependencySync("com.github.android-password-store:shared-preferences-fake:2.0.0") - dependencySync("androidx.test:rules:1.4.1-alpha03") - dependencySync("androidx.test:runner:1.4.1-alpha03") - dependencySync("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0") -} diff --git a/settings.gradle.kts b/settings.gradle.kts index cb4d6fda..bc0c5ab3 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -53,5 +53,3 @@ include("format-common") include("openpgp-ktx") include("passgen:diceware") - -include("dependency-sync")