Skip to content

Commit

Permalink
Merge pull request #326 from nextcloud/chore/noid/reuseLinterDuplicat…
Browse files Browse the repository at this point in the history
…ionDeprecationWarning

Add SPDX header to material implementation classes
  • Loading branch information
AndyScherzinger authored Mar 12, 2024
2 parents 30c293a + fbe865d commit 7413426
Show file tree
Hide file tree
Showing 55 changed files with 214 additions and 33 deletions.
2 changes: 2 additions & 0 deletions .idea/codeStyles/Project.xml.license

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml.license

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/copyright/profiles_settings.xml.license

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,3 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: android-common
Upstream-Contact: Nextcloud Android team <[email protected]>
Source: https://github.com/nextcloud/android-common

Files: material-color-utilities/*
Copyright: 2022 Google LLC
License: Apache-2.0

Files: gradlew gradlew.bat gradle/wrapper/gradle-wrapper.jar
Copyright: 2015-2021 the original authors
License: Apache-2.0

Files: gradle/verification-keyring.keys gradle/verification-metadata.xml renovate.json5 */.gitignore .idea/*
Copyright: none
License: MIT
3 changes: 3 additions & 0 deletions core/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# SPDX-FileCopyrightText: 2022-2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

/build
2 changes: 2 additions & 0 deletions gradle/verification-keyring.keys.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
2 changes: 2 additions & 0 deletions gradle/verification-keyring.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
2 changes: 2 additions & 0 deletions gradle/verification-metadata.xml.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
2 changes: 2 additions & 0 deletions gradle/wrapper/gradle-wrapper.jar.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SPDX-FileCopyrightText: 2015-2021 the original authors
# SPDX-License-Identifier: Apache-2.0
3 changes: 3 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

#
# SPDX-FileCopyrightText: 2015-2021 the original author or authors.
# SPDX-License-Identifier: Apache-2.0
#
# Copyright © 2015-2021 the original authors.
#
Expand Down
23 changes: 13 additions & 10 deletions gradlew.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@rem
@rem SPDX-FileCopyrightText: 2015 the original author or authors.
@rem SPDX-License-Identifier: Apache-2.0
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -43,11 +46,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand All @@ -57,11 +60,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand Down
3 changes: 3 additions & 0 deletions material-color-utilities/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT

/build
3 changes: 3 additions & 0 deletions material-color-utilities/README.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: MIT

Imported from https://github.com/material-foundation/material-color-utilities with license APACHE-2.0,to be substituted
with a Gradle dependency when they publish it.
4 changes: 4 additions & 0 deletions material-color-utilities/src/main/java/blend/Blend.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2022 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2022 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2023 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2022 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2023 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2023 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2022 Google LLC
*
Expand Down
4 changes: 4 additions & 0 deletions material-color-utilities/src/main/java/hct/Cam16.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
4 changes: 4 additions & 0 deletions material-color-utilities/src/main/java/hct/Hct.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
4 changes: 4 additions & 0 deletions material-color-utilities/src/main/java/hct/HctSolver.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2022 Google LLC
*
Expand Down
4 changes: 4 additions & 0 deletions material-color-utilities/src/main/java/scheme/Scheme.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2022 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2022 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2022 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2023 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* SPDX-FileCopyrightText: 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2022 Google LLC
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2022 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2023 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2022 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/*
* Copyright 2022 Google LLC
* SPDX-FileCopyrightText: 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 7413426

Please sign in to comment.