Skip to content

Commit 86f7f38

Browse files
Dimitar TachevDimitar Tachev
authored andcommitted
chore: add some trace logging when searching for the runtime Gradle versions
1 parent 9dcffbe commit 86f7f38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/services/android-plugin-build-service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,13 @@ export class AndroidPluginBuildService implements IAndroidPluginBuildService {
247247
this.$devicePlatformsConstants.Android,
248248
this.$projectDataService.getProjectData(projectDir));
249249
runtimeGradleVersions = this.getGradleVersions(registryData.versions[projectRuntimeVersion]);
250+
this.$logger.trace(`Got gradle versions ${JSON.stringify(runtimeGradleVersions)} from runtime v${projectRuntimeVersion}`);
250251
}
251252

252253
if (!runtimeGradleVersions) {
253254
const latestRuntimeVersion = registryData["dist-tags"].latest;
254255
runtimeGradleVersions = this.getGradleVersions(registryData.versions[latestRuntimeVersion]);
256+
this.$logger.trace(`Got gradle versions ${JSON.stringify(runtimeGradleVersions)} from the latest runtime v${latestRuntimeVersion}`);
255257
}
256258

257259
return runtimeGradleVersions || {};

0 commit comments

Comments
 (0)