fix: apply repositories.gradle for cordova.gradle dependencies (#1816)

This commit is contained in:
エリス
2025-07-05 13:41:58 +09:00
committed by GitHub
parent 484c60e483
commit cab5c5b7ec
3 changed files with 6 additions and 4 deletions
+2
View File
@@ -62,6 +62,8 @@ class AndroidTestRunner {
.then(_ => {
// TODO we should probably not only copy these files, but instead create a new project from scratch
fs.copyFileSync(path.resolve(this.projectDir, '../../framework/cdv-gradle-config-defaults.json'), path.resolve(this.projectDir, 'cdv-gradle-config.json'));
fs.copyFileSync(path.resolve(this.projectDir, '../../framework/repositories.gradle'), path.resolve(this.projectDir, 'repositories.gradle'));
fs.copyFileSync(path.resolve(this.projectDir, '../../framework/repositories.gradle'), path.resolve(this.projectDir, 'app', 'repositories.gradle'));
fs.cpSync(path.resolve(this.projectDir, '../../templates/project/tools'), path.resolve(this.projectDir, 'tools'), { recursive: true });
fs.copyFileSync(
path.join(__dirname, '../templates/project/assets/www/cordova.js'),