diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index 8b9b6227e..d877c3fbb 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -19,4 +19,4 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: REUSE Compliance Check - uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0 + uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0 diff --git a/REUSE.toml b/REUSE.toml index f0eef0821..189a2e6e3 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -22,3 +22,9 @@ path = ["renovate.json5", "**/.gitignore", ".library/src/androidTest/assets/**", precedence = "aggregate" SPDX-FileCopyrightText = "2024 Nextcloud GmbH and Nextcloud contributors" SPDX-License-Identifier = "MIT" + +[[annotations]] +path = ["library/src/main/res/values-**/strings.xml"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2024 Nextcloud GmbH and Nextcloud translators" +SPDX-License-Identifier = "MIT" diff --git a/library/build.gradle b/library/build.gradle index 839ef42c9..f4c073d04 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -131,7 +131,7 @@ android { lint { abortOnError true - disable 'GradleDependency','InvalidPackage' + disable 'MissingTranslation', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities', 'GoogleAppIndexingWarning', 'MissingDefaultResource', 'StringFormatInvalid', 'MissingQuantity', 'InvalidPackage' htmlOutput file("$project.buildDir/reports/lint/lint.html") htmlReport true warningsAsErrors true diff --git a/library/lint.xml b/library/lint.xml index aa7aee9b4..efcf83895 100644 --- a/library/lint.xml +++ b/library/lint.xml @@ -7,6 +7,36 @@ ~ SPDX-License-Identifier: MIT --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +