Skip to content

Commit

Permalink
reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
grablack committed Feb 22, 2024
1 parent 2865222 commit 2a36833
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,17 @@ subprojects {
group = "com.paypal.messages"
}

// Additional configuration based on the GitHub Actions environment variable
val updateVariable = System.getenv("UPDATE_VERSION_SNAPSHOT")

if (updateVariable != null && updateVariable.equals("true", ignoreCase = true)) {
android {
defaultConfig {
android {
defaultConfig {
// Additional configuration based on the GitHub Actions environment variable
val updateVariable = System.getenv("UPDATE_VERSION_SNAPSHOT")

if (updateVariable != null && updateVariable.equals("true", ignoreCase = true)) {
// Assume modules.sdkVersionName is a String variable
modules.sdkVersionName += "-SNAPSHOT"
println(modules.sdkVersionName)
}
}

println(modules.sdkVersionName)
}

0 comments on commit 2a36833

Please sign in to comment.