chore(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.2.2 (#1718)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
renovate[bot] 2022-02-09 10:32:04 +00:00 committed by GitHub
parent b12abc6ac7
commit cca04dd40a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 21 deletions

View file

@ -165,15 +165,15 @@ class PasswordCreationActivity : BasePgpActivity(), OpenPgpServiceConnection.OnB
gpgIdentifierFile.writeText((keyIds + "").joinToString("\n")) gpgIdentifierFile.writeText((keyIds + "").joinToString("\n"))
} }
commitChange( commitChange(
getString( getString(
R.string.git_commit_gpg_id, R.string.git_commit_gpg_id,
getLongName( getLongName(
gpgIdentifierFile.parentFile!!.absolutePath, gpgIdentifierFile.parentFile!!.absolutePath,
repoPath, repoPath,
gpgIdentifierFile.name gpgIdentifierFile.name
)
) )
) )
)
.onSuccess { encrypt(encryptionIntent) } .onSuccess { encrypt(encryptionIntent) }
} }
} }
@ -552,8 +552,8 @@ class PasswordCreationActivity : BasePgpActivity(), OpenPgpServiceConnection.OnB
if (editing) R.string.git_commit_edit_text else R.string.git_commit_add_text if (editing) R.string.git_commit_edit_text else R.string.git_commit_add_text
lifecycleScope.launch { lifecycleScope.launch {
commitChange( commitChange(
resources.getString(commitMessageRes, getLongName(fullPath, repoPath, editName)) resources.getString(commitMessageRes, getLongName(fullPath, repoPath, editName))
) )
.onSuccess { .onSuccess {
setResult(RESULT_OK, returnIntent) setResult(RESULT_OK, returnIntent)
finish() finish()

View file

@ -429,8 +429,8 @@ class PasswordCreationActivityV2 : BasePgpActivity() {
if (editing) R.string.git_commit_edit_text else R.string.git_commit_add_text if (editing) R.string.git_commit_edit_text else R.string.git_commit_add_text
lifecycleScope.launch { lifecycleScope.launch {
commitChange( commitChange(
resources.getString(commitMessageRes, getLongName(fullPath, repoPath, editName)) resources.getString(commitMessageRes, getLongName(fullPath, repoPath, editName))
) )
.onSuccess { .onSuccess {
setResult(RESULT_OK, returnIntent) setResult(RESULT_OK, returnIntent)
finish() finish()

View file

@ -232,15 +232,15 @@ class SshjConfig : ConfigImpl() {
private fun initKeyAlgorithms() { private fun initKeyAlgorithms() {
keyAlgorithms = keyAlgorithms =
listOf( listOf(
KeyAlgorithms.SSHRSACertV01(), KeyAlgorithms.SSHRSACertV01(),
KeyAlgorithms.EdDSA25519(), KeyAlgorithms.EdDSA25519(),
KeyAlgorithms.ECDSASHANistp521(), KeyAlgorithms.ECDSASHANistp521(),
KeyAlgorithms.ECDSASHANistp384(), KeyAlgorithms.ECDSASHANistp384(),
KeyAlgorithms.ECDSASHANistp256(), KeyAlgorithms.ECDSASHANistp256(),
KeyAlgorithms.RSASHA512(), KeyAlgorithms.RSASHA512(),
KeyAlgorithms.RSASHA256(), KeyAlgorithms.RSASHA256(),
KeyAlgorithms.SSHRSA(), KeyAlgorithms.SSHRSA(),
) )
.map { OpenKeychainWrappedKeyAlgorithmFactory(it) } .map { OpenKeychainWrappedKeyAlgorithmFactory(it) }
} }

View file

@ -47,7 +47,7 @@ build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.18.0" build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.18.0"
build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3" build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3"
build-semver = "com.vdurmont:semver4j:3.1.0" build-semver = "com.vdurmont:semver4j:3.1.0"
build-spotless = "com.diffplug.spotless:spotless-plugin-gradle:6.2.1" build-spotless = "com.diffplug.spotless:spotless-plugin-gradle:6.2.2"
dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" } dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }