Skip to content

Instantly share code, notes, and snippets.

@AndrewReitz
Created May 20, 2019 16:49
Show Gist options
  • Save AndrewReitz/207d7096589ee036abb32727475a909f to your computer and use it in GitHub Desktop.
Save AndrewReitz/207d7096589ee036abb32727475a909f to your computer and use it in GitHub Desktop.
JVM Args profile scenario file for Plaid
default-scenarios = [
"abi-assemble-default",
"abi-assemble-2gb",
"abi-assemble-4gb",
"abi-assemble-6gb",
"abi-assemble-8gb"
]
abi-assemble-default {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
}
abi-assemble-1gb {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
jvm-args = ["-Xmx1G"]
}
abi-assemble-2gb {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
jvm-args = ["-Xmx1G"]
}
abi-assemble-3gb {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
jvm-args = ["-Xmx3G"]
}
abi-assemble-4gb {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
jvm-args = ["-Xmx4G"]
}
clean-abi-assemble-5gb {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
jvm-args = ["-Xmx5G"]
}
clean-abi-assemble-6gb {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
jvm-args = ["-Xmx6G"]
}
clean-abi-assemble-7gb {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
jvm-args = ["-Xmx7G"]
}
abi-assemble-8gb {
tasks = ["assembleDebug"]
apply-abi-change-to = "./core/src/main/java/io/plaidapp/core/util/ImageUriProvider.kt"
jvm-args = ["-Xmx8G"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment