diff --git a/package.json b/package.json index 9872d83e3..0a7d9b22c 100644 --- a/package.json +++ b/package.json @@ -43,13 +43,13 @@ }, "devDependencies": { "@appium/eslint-config-appium": "^8.0.0", + "@appium/support": "^5.1.2", "@semantic-release/changelog": "^6.0.1", "@semantic-release/git": "^10.0.1", "android-apidemos": "^4.0.0", "appium-adb": "^12.0.2", "bluebird": "^3.7.2", "conventional-changelog-conventionalcommits": "^8.0.0", - "fancy-log": "^2.0.0", "semantic-release": "^24.0.0", "semver": "^7.3.7" } diff --git a/scripts/gradle-version-update.js b/scripts/gradle-version-update.js index e25773444..3f8766cab 100644 --- a/scripts/gradle-version-update.js +++ b/scripts/gradle-version-update.js @@ -1,8 +1,9 @@ -const fs = require('fs'); -const path = require('path'); +const fs = require('node:fs'); +const path = require('node:path'); const semver = require('semver'); -const log = require('fancy-log'); +const {logger} = require('@appium/support'); +const log = logger.getLogger('Versioner'); const VERSION_NAME_PATTERN = /^\s*versionName\s+['"](.+)['"]$/gm; const VERSION_CODE_PATTERN = /^\s*versionCode\s+(.+)$/gm;