Skip to content

Commit 7901bb4

Browse files
committed
jitpack publish
1 parent d5564b2 commit 7901bb4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

FairyPlugin/jcenter.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ if(projectPropertiesFile.exists()){
1616
def projectName = properties.getProperty("project.name")
1717
def projectGroupId = properties.getProperty("project.groupId")
1818
def projectArtifactId = properties.getProperty("project.artifactId")
19-
def projectVersionName = android.defaultConfig.versionName
2019
def projectPackaging = properties.getProperty("project.packaging")
2120
def projectSiteUrl = properties.getProperty("project.siteUrl")
2221
def projectGitUrl = properties.getProperty("project.gitUrl")
@@ -34,7 +33,7 @@ afterEvaluate {
3433
from components.release
3534
groupId = projectGroupId
3635
artifactId = projectArtifactId
37-
version = projectVersionName
36+
version = project.android.defaultConfig.versionName
3837
}
3938
}
4039
}

0 commit comments

Comments
 (0)