diff --git a/hooks/lib/android-helper.js b/hooks/lib/android-helper.js index e11e5df..a8c42ae 100644 --- a/hooks/lib/android-helper.js +++ b/hooks/lib/android-helper.js @@ -10,6 +10,7 @@ module.exports = { var buildGradle = utilities.readBuildGradle(); buildGradle += [ + "", "// Fabric Cordova Plugin - Start Fabric Build Tools ", "buildscript {", " repositories {", @@ -31,7 +32,7 @@ module.exports = { var buildGradle = utilities.readBuildGradle(); - buildGradle = buildGradle.replace(/\n\/\/ Fabric Cordova Plugin - Start Fabric Build Tools[\s\S]*\/\/ Fabric Cordova Plugin - End Fabric Build Tools\n/, ""); + buildGradle = buildGradle.replace(/\n\/\/ Fabric Cordova Plugin - Start Fabric Build Tools[\s\S]*\/\/ Fabric Cordova Plugin - End Fabric Build Tools/, ""); utilities.writeBuildGradle(buildGradle); }