diff --git a/FairyPlugin/jcenter.gradle b/FairyPlugin/jcenter.gradle index 78f68eac..b40be288 100644 --- a/FairyPlugin/jcenter.gradle +++ b/FairyPlugin/jcenter.gradle @@ -16,7 +16,6 @@ if(projectPropertiesFile.exists()){ def projectName = properties.getProperty("project.name") def projectGroupId = properties.getProperty("project.groupId") def projectArtifactId = properties.getProperty("project.artifactId") -def projectVersionName = android.defaultConfig.versionName def projectPackaging = properties.getProperty("project.packaging") def projectSiteUrl = properties.getProperty("project.siteUrl") def projectGitUrl = properties.getProperty("project.gitUrl") @@ -34,7 +33,7 @@ afterEvaluate { from components.release groupId = projectGroupId artifactId = projectArtifactId - version = projectVersionName + version = project.android.defaultConfig.versionName } } }