~xdavidwu/android-autobuilds

a632995b9272e5a97b422dee3342b6838a5624d7 — xdavidwu 1 year, 11 months ago 54c01c3
build: support kotlin gradle config
1 files changed, 2 insertions(+), 1 deletions(-)

M build.yml
M build.yml => build.yml +2 -1
@@ 16,7 16,8 @@ environment:
tasks:
  - patch: |
      cd "$source"
      sed -i "s/versionCode.*$/versionCode $(date +'%s')/" $(find . -name build.gradle)
      sed -i "s/versionCode.*$/versionCode $(date +'%s')/" $(find . -name build.gradle) ||
        sed -i "s/versionCode.*$/versionCode = $(date +'%s')/" $(find . -name build.gradle.kts)
  - build: |
      . /etc/profile
      cd "$source"