diff --git a/plugin.xml b/plugin.xml
index 90ff927d4..fa9f83079 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -162,6 +162,7 @@ to config.xml in order for the application to find previously stored files.
+
diff --git a/src/android/build-extras.gradle b/src/android/build-extras.gradle
index a0a7844af..516e70d25 100644
--- a/src/android/build-extras.gradle
+++ b/src/android/build-extras.gradle
@@ -16,7 +16,7 @@
specific language governing permissions and limitations
under the License.
*/
-ext.postBuildExtras = {
+cdvPluginPostBuildExtras.add({
def inAssetsDir = file("assets")
def outAssetsDir = inAssetsDir
def outFile = new File(outAssetsDir, "cdvasset.manifest")
@@ -44,4 +44,4 @@ ext.postBuildExtras = {
newTask.outputs.file outFile
def preBuildTask = tasks["preBuild"]
preBuildTask.dependsOn(newTask)
-}
+})