getAndroidVersion static method

Map<String, String?>? getAndroidVersion(
  1. String gradleFilePath
)

Gets the version name and build number from the Android gradle file. @param {String} gradleFilePath The path to the Android gradle file. @returns {{versionName: String, buildNumber: String?}} The version data, or null if not found.

Implementation

static Map<String, String?>? getAndroidVersion(String gradleFilePath) {
  return FileService.getAndroidVersion(gradleFilePath);
}