mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +03:00
Update licence header.
Other files.
This commit is contained in:
parent
5c333aeafc
commit
ba9d78e0d2
18 changed files with 54 additions and 243 deletions
|
@ -1,17 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2020 New Vector Ltd
|
* Copyright 2020-2024 New Vector Ltd.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
* you may not use this file except in compliance with the License.
|
* Please see LICENSE in the repository root for full details.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
|
@ -1,17 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2021 New Vector Ltd
|
* Copyright 2021-2024 New Vector Ltd.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
* you may not use this file except in compliance with the License.
|
* Please see LICENSE in the repository root for full details.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
|
|
|
@ -1,17 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2020 New Vector Ltd
|
* Copyright 2020-2024 New Vector Ltd.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
* you may not use this file except in compliance with the License.
|
* Please see LICENSE in the repository root for full details.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
|
@ -1,17 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2021 New Vector Ltd
|
* Copyright 2021-2024 New Vector Ltd.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
* you may not use this file except in compliance with the License.
|
* Please see LICENSE in the repository root for full details.
|
||||||
* 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.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
|
|
|
@ -1,18 +1,7 @@
|
||||||
|
# Copyright 2021-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2021 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
clean_assemble {
|
clean_assemble {
|
||||||
tasks = ["clean", ":vector:assembleGPlayDebug"]
|
tasks = ["clean", ":vector:assembleGPlayDebug"]
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright 2021-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2021 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
if ! command -v gradle-profiler &> /dev/null
|
if ! command -v gradle-profiler &> /dev/null
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright 2019-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2019 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Check drawable quantity
|
# Check drawable quantity
|
||||||
|
|
|
@ -1,18 +1,7 @@
|
||||||
|
# Copyright 2018-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2018 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# This file list String which are not allowed in source code.
|
# This file list String which are not allowed in source code.
|
||||||
# Use Perl regex to write forbidden strings
|
# Use Perl regex to write forbidden strings
|
||||||
|
|
|
@ -1,18 +1,7 @@
|
||||||
|
# Copyright 2022-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2022 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
### You should not use code from the SDK package `org.matrix.android.sdk.internal`. Either move the code to the package `org.matrix.android.sdk.api`, or add a proper API to access this code, and add `internal` keyword SDK side.
|
### You should not use code from the SDK package `org.matrix.android.sdk.internal`. Either move the code to the package `org.matrix.android.sdk.api`, or add a proper API to access this code, and add `internal` keyword SDK side.
|
||||||
import org.matrix.android.sdk.internal
|
import org.matrix.android.sdk.internal
|
||||||
|
|
|
@ -1,18 +1,7 @@
|
||||||
|
# Copyright 2020-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2020 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# This file list String which are not allowed in source code.
|
# This file list String which are not allowed in source code.
|
||||||
# Use Perl regex to write forbidden strings
|
# Use Perl regex to write forbidden strings
|
||||||
|
|
|
@ -1,18 +1,7 @@
|
||||||
|
# Copyright 2021-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2021 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# This file list String which are not allowed in source code.
|
# This file list String which are not allowed in source code.
|
||||||
# Use Perl regex to write forbidden strings
|
# Use Perl regex to write forbidden strings
|
||||||
|
|
|
@ -1,18 +1,7 @@
|
||||||
|
# Copyright 2018-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2018 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# This file list String which are not allowed in source code.
|
# This file list String which are not allowed in source code.
|
||||||
# Use Perl regex to write forbidden strings
|
# Use Perl regex to write forbidden strings
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright 2021-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
echo "Converting file $1"
|
echo "Converting file $1"
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright 2021-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright 2022-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Ignore any error to not stop the script
|
# Ignore any error to not stop the script
|
||||||
set +e
|
set +e
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright 2020-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2020 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
echo "Configure Element Template..."
|
echo "Configure Element Template..."
|
||||||
if [ -z ${ANDROID_STUDIO+x} ]; then ANDROID_STUDIO="/Applications/Android Studio.app/Contents"; fi
|
if [ -z ${ANDROID_STUDIO+x} ]; then ANDROID_STUDIO="/Applications/Android Studio.app/Contents"; fi
|
||||||
|
|
|
@ -1,20 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright 2020-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright 2020 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Template prevent from upgrading Android Studio, so this script de configure the template
|
# Template prevent from upgrading Android Studio, so this script de configure the template
|
||||||
echo "Un-configure Element Template..."
|
echo "Un-configure Element Template..."
|
||||||
|
|
|
@ -1,19 +1,9 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
|
# Copyright 2022-2024 New Vector Ltd.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 New Vector Ltd
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
#
|
# Please see LICENSE in the repository root for full details.
|
||||||
# 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.
|
|
||||||
#
|
#
|
||||||
# Based on https://cashapp.github.io/paparazzi/#git-lfs
|
# Based on https://cashapp.github.io/paparazzi/#git-lfs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue