From fc9b388da5655856086b88b9315dbd37cec824c2 Mon Sep 17 00:00:00 2001 From: fossdd Date: Thu, 21 Jan 2021 18:23:48 +0000 Subject: [PATCH] Update Templates to the YAML Format --- templates/build-ant | 13 +++++++------ templates/build-gradle | 21 +++++++++++++-------- templates/build-maven | 11 ++++++----- 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/templates/build-ant b/templates/build-ant index ae7b0ccc6d..d87938b5bf 100644 --- a/templates/build-ant +++ b/templates/build-ant @@ -1,7 +1,8 @@ -Build:1.0,1 - commit=v1.0 +Builds: + - versionName: 1.0 + commit: v1.0 -As with all build methods, use subdir=app if the app resides under a -subdirectory called "app". - -Use target=android-X if no target is defined in project.properties. +# As with all build methods, use `subdir: app` if the app resides under a +# subdirectory called "app". +# +# Use `target: android-X` if no target is defined in project.properties. diff --git a/templates/build-gradle b/templates/build-gradle index 0eb5343c8e..11062a1a0e 100644 --- a/templates/build-gradle +++ b/templates/build-gradle @@ -1,9 +1,14 @@ -Build:1.0,1 - commit=v1.0 - gradle=yes +Builds: + - versionName: 1.0 + commit: v1.0 + gradle: + - yes -As with all build methods, use subdir=app if the app resides under a -subdirectory called "app". - -You must use gradle=flavourName to build a specific flavour if the app has -multiple flavours. +# As with all build methods, use `subdir: app` if the app resides under a +# subdirectory called "app". +# +# You must use +# gradle: +# - flavour +# - name +# to build a specific flavour if the app has multiple flavours. diff --git a/templates/build-maven b/templates/build-maven index c5ada5a25f..b90b94b915 100644 --- a/templates/build-maven +++ b/templates/build-maven @@ -1,6 +1,7 @@ -Build:1.0,1 - commit=v1.0 - maven=yes +Builds: + - versionName: 1.0 + commit: v1.0 + maven: 'yes' -As with all build methods, use subdir=app if the app resides under a -subdirectory called "app". +# As with all build methods, use `subdir: app` if the app resides under a +# subdirectory called "app".