Skip to content

Commit b15679a

Browse files
author
farfromrefuge
committed
fix: gradle script replace fix
1 parent de89c09 commit b15679a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/services/android-project-service.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,11 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
526526
projectData.projectIdentifiers.android,
527527
manifestPath
528528
);
529+
const buildAppGradlePath = path.join(
530+
this.getPlatformData(projectData).projectRoot,
531+
"app",
532+
"build.gradle"
533+
);
529534
const buildGradlePath = path.join(
530535
this.getPlatformData(projectData).projectRoot,
531536
"build.gradle"
@@ -534,7 +539,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
534539
"-i",
535540
/__PACKAGE__/,
536541
projectData.projectIdentifiers.android,
537-
buildGradlePath
542+
buildAppGradlePath
538543
);
539544
const relativePath = path.relative(this.getPlatformData(projectData).projectRoot, projectData.projectDir)
540545
shell.sed(

0 commit comments

Comments
 (0)