misc: Add SPDX copyright headers

This commit is contained in:
Michael Bestas 2023-03-02 19:33:29 +02:00 committed by Chirayu Desai
parent 1baf4b871e
commit ecf3b99ac2
19 changed files with 83 additions and 13 deletions

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash
#
# SPDX-FileCopyrightText: 2023 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
export DEBIAN_FRONTEND=noninteractive

View file

@ -1,3 +1,8 @@
#
# SPDX-FileCopyrightText: 2023 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
adb root
sleep 5
adb remount

View file

@ -1,17 +1,6 @@
//
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// SPDX-FileCopyrightText: 2020 The Calyx Institute
// SPDX-License-Identifier: Apache-2.0
//
android_app {

View file

@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2017 Steve Soltys
SPDX-FileCopyrightText: 2020 The Calyx Institute
SPDX-License-Identifier: Apache-2.0
-->
<config>
<backup-transport-whitelisted-service
service="com.stevesoltys.seedvault/.transport.ConfigurableBackupTransportService" />

View file

@ -1,3 +1,8 @@
//
// SPDX-FileCopyrightText: 2023 The Calyx Institute
// SPDX-License-Identifier: Apache-2.0
//
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import java.io.ByteArrayOutputStream

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash
#
# SPDX-FileCopyrightText: 2023 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# assert ANDROID_HOME is set
if [ -z "$ANDROID_HOME" ]; then

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash
#
# SPDX-FileCopyrightText: 2023 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# assert ANDROID_HOME is set
if [ -z "$ANDROID_HOME" ]; then

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash
#
# SPDX-FileCopyrightText: 2023 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# assert ANDROID_HOME is set
if [ -z "$ANDROID_HOME" ]; then

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash
#
# SPDX-FileCopyrightText: 2023 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# assert ANDROID_HOME is set
if [ -z "$ANDROID_HOME" ]; then

View file

@ -1,3 +1,8 @@
#
# SPDX-FileCopyrightText: 2023 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
[metadata]
[versions]

View file

@ -1,3 +1,8 @@
#
# SPDX-FileCopyrightText: 2023 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
[versions]
# We need to enforce that the versions we use are the same as AOSP to ensure compatibility.
# 1.3.61 Android 11

View file

@ -1,4 +1,8 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!--
SPDX-FileCopyrightText: 2020 The Calyx Institute
SPDX-License-Identifier: Apache-2.0
-->
<exceptions>
<exception package="com.stevesoltys.seedvault">
<!-- Notifications -->

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2020 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
org.gradle.jvmargs=-Xmx4g
org.gradle.configureondemand=true
org.gradle.caching=true

View file

@ -1,3 +1,8 @@
//
// SPDX-FileCopyrightText: 2021 The Calyx Institute
// SPDX-License-Identifier: Apache-2.0
//
java_import {
name: "seedvault-lib-kotlin-bip39",
jars: ["kotlin-bip39-jvm-1.0.6.jar"],

View file

@ -1,3 +1,8 @@
//
// SPDX-FileCopyrightText: 2024 The Calyx Institute
// SPDX-License-Identifier: Apache-2.0
//
java_import {
name: "seedvault-lib-dav4jvm",
jars: ["dav4jvm-2.2.1.jar"],

View file

@ -1,3 +1,8 @@
//
// SPDX-FileCopyrightText: 2020 The Calyx Institute
// SPDX-License-Identifier: Apache-2.0
//
android_library_import {
name: "seedvault-lib-koin-android",
aars: ["koin-android-3.2.0.aar"],

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash
#
# SPDX-FileCopyrightText: 2020 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
set -ex

View file

@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2017 Steve Soltys
SPDX-FileCopyrightText: 2020 The Calyx Institute
SPDX-License-Identifier: Apache-2.0
-->
<permissions>
<privapp-permissions package="com.stevesoltys.seedvault">
<permission name="android.permission.BACKUP"/>

View file

@ -1,3 +1,8 @@
//
// SPDX-FileCopyrightText: 2023 The Calyx Institute
// SPDX-License-Identifier: Apache-2.0
//
pluginManagement {
buildscript {
repositories {