Skip to content

Commit cedd78a

Browse files
committed
fix(ci): prepare-android-build-gradle-for-ci.ts
1 parent 21da8c6 commit cedd78a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

apps/scripts/prepare-android-build-gradle-for-ci.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ if (!projectDirName) {
1010
const __filename = fileURLToPath(import.meta.url);
1111
const __dirname = path.dirname(__filename);
1212
const SNAPSHOT_VERSION = '1.0.1-SNAPSHOT';
13-
const targetPath = path.resolve(__dirname, '..', 'android', 'build.gradle');
13+
const targetPath = path.resolve(
14+
__dirname,
15+
'..',
16+
projectDirName,
17+
'android',
18+
'build.gradle'
19+
);
1420

1521
function ensureMavenLocalInBuildscriptRepositories(contents: string): string {
1622
const buildscriptReposRegex =

0 commit comments

Comments
 (0)