mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-04 00:02:03 +08:00
This is probably a bad idea, but we need to split the gradle files into legacy and new style
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user