treewide: Add copyrights
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
f1f59dc1ed
commit
ee3535482a
46 changed files with 188 additions and 10 deletions
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore
|
||||
|
||||
import android.content.Intent
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore
|
||||
|
||||
import android.net.Uri
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore;
|
||||
|
||||
import android.content.Context;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore;
|
||||
|
||||
import android.Manifest;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore;
|
||||
|
||||
import android.content.Context;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore
|
||||
|
||||
import android.os.Bundle
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore
|
||||
|
||||
import android.accessibilityservice.AccessibilityServiceInfo
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.autofill
|
||||
|
||||
import android.app.PendingIntent
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.autofill
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.autofill
|
||||
|
||||
import android.content.Context
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.autofill
|
||||
|
||||
import android.content.Context
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.autofill
|
||||
|
||||
import android.accessibilityservice.AccessibilityService
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.crypto
|
||||
|
||||
import android.app.PendingIntent
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git
|
||||
|
||||
import android.content.Context
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git;
|
||||
|
||||
import android.app.Activity;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git
|
||||
|
||||
import android.app.Activity
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git.config
|
||||
|
||||
import com.jcraft.jsch.JSch
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git.config;
|
||||
|
||||
import android.app.Activity;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.git.config
|
||||
|
||||
import com.jcraft.jsch.JSch
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.pwgen
|
||||
|
||||
import android.content.Context
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.pwgen
|
||||
|
||||
internal object Phonemes {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.pwgen
|
||||
|
||||
import java.security.NoSuchAlgorithmException
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.pwgen
|
||||
|
||||
internal object RandomPasswordGenerator {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils
|
||||
|
||||
import android.content.Context
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils
|
||||
|
||||
import android.view.View
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils;
|
||||
|
||||
import android.util.Log;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils
|
||||
|
||||
import com.zeapo.pwdstore.crypto.PgpActivity
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils
|
||||
|
||||
import android.view.Menu
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils
|
||||
|
||||
import android.content.Context
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils.auth
|
||||
|
||||
import androidx.biometric.BiometricPrompt
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
package com.zeapo.pwdstore.utils.auth
|
||||
|
||||
import android.os.Handler
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2017-2018 WireGuard LLC.
|
||||
* Copyright © 2018-2019 Harsh Shandilya <msfjarvis@gmail.com>. All Rights Reserved.
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
package com.zeapo.pwdstore.widget
|
||||
|
||||
import android.content.Context
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
|
||||
|
||||
buildscript {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
plugins {
|
||||
`kotlin-dsl`
|
||||
}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
import com.diffplug.gradle.spotless.SpotlessExtension
|
||||
import com.diffplug.gradle.spotless.SpotlessPlugin
|
||||
import org.gradle.api.Project
|
||||
|
@ -17,8 +21,8 @@ fun Project.configureSpotless() {
|
|||
java {
|
||||
target("**/src/main/**/*.java")
|
||||
trimTrailingWhitespace()
|
||||
// @Suppress("INACCESSIBLE_TYPE")
|
||||
// licenseHeader(kotlinLicenseHeader)
|
||||
@Suppress("INACCESSIBLE_TYPE")
|
||||
licenseHeader(kotlinLicenseHeader)
|
||||
removeUnusedImports()
|
||||
googleJavaFormat().aosp()
|
||||
endWithNewline()
|
||||
|
@ -27,8 +31,8 @@ fun Project.configureSpotless() {
|
|||
kotlinGradle {
|
||||
target("*.gradle.kts", "gradle/*.gradle.kts", "buildSrc/*.gradle.kts")
|
||||
ktlint("0.31.0").userData(mapOf("indent_size" to "4", "continuation_indent_size" to "4"))
|
||||
// @Suppress("INACCESSIBLE_TYPE")
|
||||
// licenseHeader(kotlinLicenseHeader, "import|tasks|apply|plugins|include")
|
||||
@Suppress("INACCESSIBLE_TYPE")
|
||||
licenseHeader(kotlinLicenseHeader, "import|tasks|apply|plugins|include|buildscript")
|
||||
trimTrailingWhitespace()
|
||||
indentWithSpaces()
|
||||
endWithNewline()
|
||||
|
@ -37,8 +41,8 @@ fun Project.configureSpotless() {
|
|||
kotlin {
|
||||
target("**/src/main/**/*.kt", "buildSrc/**/*.kt")
|
||||
ktlint("0.31.0").userData(mapOf("indent_size" to "4", "continuation_indent_size" to "4"))
|
||||
// @Suppress("INACCESSIBLE_TYPE")
|
||||
// licenseHeader(kotlinLicenseHeader)
|
||||
@Suppress("INACCESSIBLE_TYPE")
|
||||
licenseHeader(kotlinLicenseHeader, "import|package|class|object|@file")
|
||||
trimTrailingWhitespace()
|
||||
indentWithSpaces()
|
||||
endWithNewline()
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2014-2019 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
include(":app")
|
||||
|
|
Loading…
Reference in a new issue