Fix print last version gradle task
@@ -4,6 +4,8 @@ apply plugin:'maven-publish'
apply plugin:'com.jfrog.bintray'
apply plugin:'com.github.dcendents.android-maven'
+def versionLocation = "build/last_deployed_version.txt"
+
task javadoc(type:Javadoc) {
failOnError = false
options.encoding = 'UTF-8'
@@ -25,7 +27,6 @@ task androidSourcesJar(type:Jar) {
}
task publishAar {
- def versionLocation = "build/last_deployed_version.txt"
def isExperimental = project.hasProperty('experimental')
def isProduction = project.hasProperty('production')
