mirror of
https://github.com/bitwarden/android.git
synced 2025-12-11 22:52:20 -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)) {
|
if (originalFile.renameTo(newFile)) {
|
||||||
println("Renamed $originalFile to $newFile")
|
println("Renamed $originalFile to $newFile")
|
||||||
} else {
|
} else {
|
||||||
|
@Suppress("TooGenericExceptionThrown")
|
||||||
throw RuntimeException("Failed to rename $originalFile to $newFile")
|
throw RuntimeException("Failed to rename $originalFile to $newFile")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -81,6 +81,7 @@ android {
|
|||||||
debug {
|
debug {
|
||||||
applicationIdSuffix = ".dev"
|
applicationIdSuffix = ".dev"
|
||||||
manifestPlaceholders["targetBitwardenAppId"] = "com.x8bit.bitwarden.dev"
|
manifestPlaceholders["targetBitwardenAppId"] = "com.x8bit.bitwarden.dev"
|
||||||
|
@Suppress("MaxLineLength")
|
||||||
buildConfigField(
|
buildConfigField(
|
||||||
type = "com.bitwarden.authenticatorbridge.manager.model.AuthenticatorBridgeConnectionType",
|
type = "com.bitwarden.authenticatorbridge.manager.model.AuthenticatorBridgeConnectionType",
|
||||||
name = "AUTHENTICATOR_BRIDGE_CONNECTION_TYPE",
|
name = "AUTHENTICATOR_BRIDGE_CONNECTION_TYPE",
|
||||||
@ -94,6 +95,7 @@ android {
|
|||||||
|
|
||||||
release {
|
release {
|
||||||
manifestPlaceholders["targetBitwardenAppId"] = "com.x8bit.bitwarden"
|
manifestPlaceholders["targetBitwardenAppId"] = "com.x8bit.bitwarden"
|
||||||
|
@Suppress("MaxLineLength")
|
||||||
buildConfigField(
|
buildConfigField(
|
||||||
type = "com.bitwarden.authenticatorbridge.manager.model.AuthenticatorBridgeConnectionType",
|
type = "com.bitwarden.authenticatorbridge.manager.model.AuthenticatorBridgeConnectionType",
|
||||||
name = "AUTHENTICATOR_BRIDGE_CONNECTION_TYPE",
|
name = "AUTHENTICATOR_BRIDGE_CONNECTION_TYPE",
|
||||||
@ -275,6 +277,7 @@ private fun renameFile(path: String, newName: String) {
|
|||||||
if (originalFile.renameTo(newFile)) {
|
if (originalFile.renameTo(newFile)) {
|
||||||
println("Renamed $originalFile to $newFile")
|
println("Renamed $originalFile to $newFile")
|
||||||
} else {
|
} else {
|
||||||
|
@Suppress("TooGenericExceptionThrown")
|
||||||
throw RuntimeException("Failed to rename $originalFile to $newFile")
|
throw RuntimeException("Failed to rename $originalFile to $newFile")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user