Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Update the build-extras.gradle file #599

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/android/build-extras.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
specific language governing permissions and limitations
under the License.
*/
ext.postBuildExtras = {
cdvPluginPostBuildExtras.add({

def inAssetsDir = file("src/main/assets")
if (!inAssetsDir.exists()) { // Add support for cordova-android < 7.0.0
Expand Down Expand Up @@ -54,7 +54,7 @@ ext.postBuildExtras = {
newTask.outputs.file outFile
def preBuildTask = tasks["preBuild"]
preBuildTask.dependsOn(newTask)
}
})

android.buildTypes.each {
// to prevent incorrect long value restoration from strings.xml we need to wrap it with double quotes
Expand Down