1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -07:00

Use the flavor.

This commit is contained in:
Cedric Beust 2015-11-03 20:57:30 -08:00
parent 0dad0ccc27
commit 1c4afba7c1

View file

@ -137,7 +137,7 @@ public class AndroidPlugin @Inject constructor(val javaCompiler: JavaCompiler) :
"-A", dirGet(intermediates, "assets", flavor), // where to find more assets "-A", dirGet(intermediates, "assets", flavor), // where to find more assets
"-m", // create directory "-m", // create directory
"-J", dirGet(generated, "sources", "r", flavor).toString(), // where all gets generated "-J", dirGet(generated, "sources", "r", flavor).toString(), // where all gets generated
"-F", Paths.get(outputDir, "resources-debug.ap_").toString(), "-F", Paths.get(outputDir, "resources-$flavor.ap_").toString(),
"--debug-mode", "--debug-mode",
"-0", "apk", "-0", "apk",
"--custom-package", applicationId, "--custom-package", applicationId,