mirror of
https://github.com/bitwarden/android.git
synced 2025-12-11 04:39:19 -06:00
[PM-16534] Update gradle invocations to specify app module (#4720)
Co-authored-by: Patrick Honkonen <1883101+SaintPatrck@users.noreply.github.com>
This commit is contained in:
parent
0820061466
commit
631be3fca5
@ -30,7 +30,7 @@ platform :android do
|
|||||||
desc "Assemble FDroid release APK"
|
desc "Assemble FDroid release APK"
|
||||||
lane :assembleFDroidReleaseApk do |options|
|
lane :assembleFDroidReleaseApk do |options|
|
||||||
buildAndSignBitwarden(
|
buildAndSignBitwarden(
|
||||||
taskName: "assemble",
|
taskName: "app:assemble",
|
||||||
flavor: "Fdroid",
|
flavor: "Fdroid",
|
||||||
buildType: "Release",
|
buildType: "Release",
|
||||||
storeFile: options[:storeFile],
|
storeFile: options[:storeFile],
|
||||||
@ -43,7 +43,7 @@ platform :android do
|
|||||||
desc "Assemble F-Droid Beta APK"
|
desc "Assemble F-Droid Beta APK"
|
||||||
lane :assembleFDroidBetaApk do |options|
|
lane :assembleFDroidBetaApk do |options|
|
||||||
buildAndSignBitwarden(
|
buildAndSignBitwarden(
|
||||||
taskName: "assemble",
|
taskName: "app:assemble",
|
||||||
flavor: "Fdroid",
|
flavor: "Fdroid",
|
||||||
buildType: "Beta",
|
buildType: "Beta",
|
||||||
storeFile: options[:storeFile],
|
storeFile: options[:storeFile],
|
||||||
@ -56,7 +56,7 @@ platform :android do
|
|||||||
desc "Assemble Play Store release APK"
|
desc "Assemble Play Store release APK"
|
||||||
lane :assemblePlayStoreReleaseApk do |options|
|
lane :assemblePlayStoreReleaseApk do |options|
|
||||||
buildAndSignBitwarden(
|
buildAndSignBitwarden(
|
||||||
taskName: "assemble",
|
taskName: "app:assemble",
|
||||||
flavor: "Standard",
|
flavor: "Standard",
|
||||||
buildType: "Release",
|
buildType: "Release",
|
||||||
storeFile: options[:storeFile],
|
storeFile: options[:storeFile],
|
||||||
@ -69,7 +69,7 @@ platform :android do
|
|||||||
desc "Assemble Play Store release APK"
|
desc "Assemble Play Store release APK"
|
||||||
lane :assemblePlayStoreBetaApk do |options|
|
lane :assemblePlayStoreBetaApk do |options|
|
||||||
buildAndSignBitwarden(
|
buildAndSignBitwarden(
|
||||||
taskName: "assemble",
|
taskName: "app:assemble",
|
||||||
flavor: "Standard",
|
flavor: "Standard",
|
||||||
buildType: "Beta",
|
buildType: "Beta",
|
||||||
storeFile: options[:storeFile],
|
storeFile: options[:storeFile],
|
||||||
@ -82,7 +82,7 @@ platform :android do
|
|||||||
desc "Bundle Play Store release"
|
desc "Bundle Play Store release"
|
||||||
lane :bundlePlayStoreRelease do |options|
|
lane :bundlePlayStoreRelease do |options|
|
||||||
buildAndSignBitwarden(
|
buildAndSignBitwarden(
|
||||||
taskName: "bundle",
|
taskName: "app:bundle",
|
||||||
flavor: "Standard",
|
flavor: "Standard",
|
||||||
buildType: "Release",
|
buildType: "Release",
|
||||||
storeFile: options[:storeFile],
|
storeFile: options[:storeFile],
|
||||||
@ -95,7 +95,7 @@ platform :android do
|
|||||||
desc "Bundle Play Store release"
|
desc "Bundle Play Store release"
|
||||||
lane :bundlePlayStoreBeta do |options|
|
lane :bundlePlayStoreBeta do |options|
|
||||||
buildAndSignBitwarden(
|
buildAndSignBitwarden(
|
||||||
taskName: "bundle",
|
taskName: "app:bundle",
|
||||||
flavor: "Standard",
|
flavor: "Standard",
|
||||||
buildType: "Beta",
|
buildType: "Beta",
|
||||||
storeFile: options[:storeFile],
|
storeFile: options[:storeFile],
|
||||||
@ -108,7 +108,7 @@ platform :android do
|
|||||||
desc "Runs Standard Debug tests and generates Kover report"
|
desc "Runs Standard Debug tests and generates Kover report"
|
||||||
lane :check do
|
lane :check do
|
||||||
gradle(
|
gradle(
|
||||||
tasks: ["testStandardDebug", "lintStandardDebug", "detekt", "koverXmlReportStandardDebug"]
|
tasks: ["app:testStandardDebug", "app:lintStandardDebug", "app:detekt", "app:koverXmlReportStandardDebug"]
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ platform :android do
|
|||||||
# Save changes
|
# Save changes
|
||||||
File.open(buildConfigPath, "w") { |buildConfigFile| buildConfigFile << buildConfigText }
|
File.open(buildConfigPath, "w") { |buildConfigFile| buildConfigFile << buildConfigText }
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Generate artifacts for the given [build] signed with the provided [keystore] and credentials."
|
desc "Generate artifacts for the given [build] signed with the provided [keystore] and credentials."
|
||||||
private_lane :buildAndSignBitwarden do |options|
|
private_lane :buildAndSignBitwarden do |options|
|
||||||
gradle(
|
gradle(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user