File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ if(projectPropertiesFile.exists()){
16
16
def projectName = properties. getProperty(" project.name" )
17
17
def projectGroupId = properties. getProperty(" project.groupId" )
18
18
def projectArtifactId = properties. getProperty(" project.artifactId" )
19
- def projectVersionName = android. defaultConfig. versionName
20
19
def projectPackaging = properties. getProperty(" project.packaging" )
21
20
def projectSiteUrl = properties. getProperty(" project.siteUrl" )
22
21
def projectGitUrl = properties. getProperty(" project.gitUrl" )
@@ -34,7 +33,7 @@ afterEvaluate {
34
33
from components. release
35
34
groupId = projectGroupId
36
35
artifactId = projectArtifactId
37
- version = projectVersionName
36
+ version = project . android . defaultConfig . versionName
38
37
}
39
38
}
40
39
}
You can’t perform that action at this time.
0 commit comments