AS 发布aar到阿里云 自建的Maven库
阿里云 maven:
https://packages.aliyun.com/maven
本地配置:
使用的是maven-publish插件
apply plugin: 'maven-publish' afterEvaluate { publishing { publications { release(MavenPublication) { from components.release version = '1.0.1' artifactId = 'libs' groupId = 'com.loaderman.jicf' } } repositories { maven { name="aliyun" url = 'https://packages.aliyun.com/maven/repository/52323-release-SXR233l/' credentials { username = '123456abcdef' password = 't-123456789' } } } } }
然后,点击gradle 工具:
即可发布到Maven库中
最后,关注【码上加油站】微信公众号后,有疑惑有问题想加油的小伙伴可以码上加入社群,让我们一起码上加油吧!!!