Commit 923450d3 by 万齐军

ConfideWebServiceImpl重构

parent f65fca61
...@@ -3,7 +3,8 @@ apply plugin: 'maven' ...@@ -3,7 +3,8 @@ apply plugin: 'maven'
def mavenRepositoryUrl = "http://nexus.yidianling.com/repository/AndroidReleases/" def mavenRepositoryUrl = "http://nexus.yidianling.com/repository/AndroidReleases/"
def getVersionName() { def getVersionName() {
return rootProject.ext.ydl2PublishVersion def publishVersion = rootProject.ext.ydl2PublishVersion
return isLocal() ? publishVersion + "-LOCAL" : publishVersion
} }
def isLocal(){ def isLocal(){
Properties properties = new Properties() Properties properties = new Properties()
...@@ -47,7 +48,7 @@ afterEvaluate { project -> ...@@ -47,7 +48,7 @@ afterEvaluate { project ->
, project.getName() , project.getName()
, getVersionName() , getVersionName()
, "aar" , "aar"
, "release" , isLocal() ? "Local" : "release"
) )
} }
// rootProject.getTasksByName("aa",false).forEach{println(it)} // rootProject.getTasksByName("aa",false).forEach{println(it)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment