Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
Update automatic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
pokerazor committed Jul 25, 2017
1 parent 27059b0 commit aac7f04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ buildscript {

classpath 'com.github.Triple-T:gradle-play-publisher:8cda31a5d0e3c4f2d7f47ffde6fc3b370e59dd8a'

classpath 'com.github.menny:GradleVersion:0.0.2'
classpath 'com.github.menny:GradleVersion:0.0.4'

classpath('fr.avianey.androidsvgdrawable:gradle-plugin:3.0.0') {
exclude group: 'xerces'
Expand All @@ -42,8 +42,8 @@ apply plugin: "androidsvgdrawable"


def generators = [
new EnvBuildVersionGenerator.CircleCi(0),
new GitBuildVersionGenerator(0),
new EnvBuildVersionGenerator.CircleCi(0,0),
new GitBuildVersionGenerator(0,0),
new StaticVersionGenerator()
]

Expand All @@ -62,7 +62,7 @@ android {

// change name of generated apk to make previews and testing of multiple packs easier
def packName = applicationId.substring(applicationId.lastIndexOf(".") + 1)
setProperty("archivesBaseName", "ASKLangPack-" + packName + "-v" + versionName + "(" + versionCode + ")")
setProperty("archivesBaseName", "ASKLangPack-${packName}-${versionCode}")

println "Building ${applicationId} v${versionName}, version-code ${versionCode}..."
}
Expand Down

0 comments on commit aac7f04

Please sign in to comment.