企业级Android应用架构设计与开发

一、应用架构的基础知识

  1.maven的了解

    

  2.创建nexus :

         nexus的网址  http://127.0.0.1:8081/nexus/#welcome

   nexus的配置  https://www.iteye.com/blog/happyqing-2002124

  3.AndroidStudio和nexus搭建过程

   a.这个是给gradle编译使用

           

  b. 这个是给全局编译使用,这里是真正的编译

    

  c. 对每一个moudle信息上传到maven

//上传maven配置
uploadArchives {
repositories {
mavenDeployer {
repository(url: NEXUS_REPOSITORY_URL) {
authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
}
pom.project {
name pomName
version pomVersionName
description pomDescription
artifactId pomVersionName
groupId POM_GROUPID
packaging POM_PACKAGING
}
}
}
}

    

猜你喜欢

转载自www.cnblogs.com/liunx1109/p/12607584.html