mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 09:56:45 -06:00
Suppress Gradle lint warnings (#5767)
This commit is contained in:
parent
bc5788556c
commit
bc67bf3dff
@ -328,6 +328,7 @@ private fun renameFile(path: String, newName: String) {
|
||||
if (originalFile.renameTo(newFile)) {
|
||||
println("Renamed $originalFile to $newFile")
|
||||
} else {
|
||||
@Suppress("TooGenericExceptionThrown")
|
||||
throw RuntimeException("Failed to rename $originalFile to $newFile")
|
||||
}
|
||||
}
|
||||
|
||||
@ -81,6 +81,7 @@ android {
|
||||
debug {
|
||||
applicationIdSuffix = ".dev"
|
||||
manifestPlaceholders["targetBitwardenAppId"] = "com.x8bit.bitwarden.dev"
|
||||
@Suppress("MaxLineLength")
|
||||
buildConfigField(
|
||||
type = "com.bitwarden.authenticatorbridge.manager.model.AuthenticatorBridgeConnectionType",
|
||||
name = "AUTHENTICATOR_BRIDGE_CONNECTION_TYPE",
|
||||
@ -94,6 +95,7 @@ android {
|
||||
|
||||
release {
|
||||
manifestPlaceholders["targetBitwardenAppId"] = "com.x8bit.bitwarden"
|
||||
@Suppress("MaxLineLength")
|
||||
buildConfigField(
|
||||
type = "com.bitwarden.authenticatorbridge.manager.model.AuthenticatorBridgeConnectionType",
|
||||
name = "AUTHENTICATOR_BRIDGE_CONNECTION_TYPE",
|
||||
@ -275,6 +277,7 @@ private fun renameFile(path: String, newName: String) {
|
||||
if (originalFile.renameTo(newFile)) {
|
||||
println("Renamed $originalFile to $newFile")
|
||||
} else {
|
||||
@Suppress("TooGenericExceptionThrown")
|
||||
throw RuntimeException("Failed to rename $originalFile to $newFile")
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user