This is probably a bad idea, but we need to split the gradle files into legacy and new style

This commit is contained in:
Joe Bowser
2017-06-13 11:58:00 -07:00
parent c74192d578
commit b67e9905bc
3 changed files with 311 additions and 7 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ function copyBuildRules(projectPath, isLegacy) {
if(isLegacy) {
//The project's build.gradle is identical to the earlier build.gradle, so it should still work
shell.cp('-f', path.join(srcDir, 'app', 'build.gradle'), projectPath);
shell.cp('-f', path.join(srcDir, 'legacy', 'build.gradle'), projectPath);
shell.cp('-f', path.join(srcDir, 'wrapper.gradle'), projectPath);
} else {
shell.cp('-f', path.join(srcDir, 'build.gradle'), projectPath);