apply plugin: 'com.android.library'

apply plugin: 'maven' uploadArchives { repositories { mavenDeployer { repository( url: 'http://192.168.1.153:8081/nexus/content/repositories/thirdparty') { authentication( userName: "admin", password: "admin123") } pom. project { name 'testname' groupId 'testgroupId' artifactId 'testartifactId' version '1.0.0' packaging 'aar' licenses { license { name 'The Apache Software License, Version 2.0' url 'http://www.apache.org/licenses/LICENSE-2.0.txt' distribution 'repo' } } developers { developer { id 'test' name 'test' } } } } } }


nexus配置



在android studio中执行发布



看到提交的结果


更多相关文章

  1. android实现字体闪烁动画的方法
  2. 在Fragment中设置控件点击方法,执行失败。
  3. Android(安卓)之 AsyncTask 异步任务
  4. Android出现java.lang.RuntimeException: Can't toast on a thre
  5. Android执行shell命令
  6. Android中,把XML文件转换成Object对象的方法
  7. Android(安卓)MapView 申请apiKey
  8. 开机引导程序只执行一次的方法
  9. Android中onContextItemSelected不响应

随机推荐

  1. Android Pull Refresh View
  2. targetSdkVersion 23以下6.0中调用checkS
  3. Android下使用C语言的四种编译方式
  4. Android SDK 目录和作用的分析详解
  5. 简单android Service 创建与启动示例
  6. Android 到ARM versatile PB板移植主要步
  7. Android ApiDemos示例解析(108):Views->C
  8. Android sdk 接入时遇到的错误解决方案
  9. 转:Android listview 实现分页
  10. Android Bitmap 圆角