diff --git a/app/src/main/java/com/nextcloud/utils/extensions/OwnCloudClientExtensions.kt b/app/src/main/java/com/nextcloud/utils/extensions/OwnCloudClientExtensions.kt
index 144f72d9e5..2b36ebf5b9 100644
--- a/app/src/main/java/com/nextcloud/utils/extensions/OwnCloudClientExtensions.kt
+++ b/app/src/main/java/com/nextcloud/utils/extensions/OwnCloudClientExtensions.kt
@@ -1,22 +1,9 @@
/*
- * Nextcloud Android client application
+ * Nextcloud - Android Client
*
- * @author ZetaTom
- * Copyright (C) 2023 ZetaTom
- * Copyright (C) 2023 Nextcloud GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * SPDX-FileCopyrightText: 2023 ZetaTom
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH
+ * SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
*/
package com.nextcloud.utils.extensions
diff --git a/build.gradle b/build.gradle
index df64b1ce23..ccdbe63537 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,7 +10,7 @@
*/
buildscript {
ext {
- androidLibraryVersion = "depocc~notifications-SNAPSHOT"
+ androidLibraryVersion = "cda1b08aa81b74201177f29c2326abee62f32c15"
androidPluginVersion = '8.4.0'
androidxMediaVersion = '1.3.1'
androidxTestVersion = "1.5.0"
diff --git a/scripts/analysis/detectWrongSettings.sh b/scripts/analysis/detectWrongSettings.sh
index d917f93168..301d794e64 100755
--- a/scripts/analysis/detectWrongSettings.sh
+++ b/scripts/analysis/detectWrongSettings.sh
@@ -9,9 +9,19 @@ betaCount=$(grep "true" app/src/main/res/values/se
libraryHash=$(grep library build.gradle | cut -f2 -d'"' | grep "^[0-9a-zA-Z]\{40\}$" -c)
-if [[ $snapshotCount -eq 0 && $betaCount -eq 0 && $libraryHash = 1 ]] ; then
- exit 0
-else
+if [[ $snapshotCount -gt 0 ]] ; then
+ echo "Snapshot found in dependencies"
+ exit 1
+fi
+if [[ $betaCount -gt 0 ]] ; then
+ echo "Beta is set in setup.xml"
+ exit 1
+fi
+
+if [[ $libraryHash = 0 ]] ; then
+ echo "Library hash is wrong!"
exit 1
fi
+exit 0
+