直接参考https://github.com/ihbing/ShiLuLib 配置即可
注意版本对应关系
AndroidStudio3.1.4 com.novoda:bintray-release:0.8.0
AndroidStudio3.4.2 com.novoda:bintray-release:0.9.1
apply plugin: 'com.novoda.bintray-release'//添加
···
publish {
userOrg = 'ihbing'
groupId = 'com.ihbing'
artifactId = 'ShiLuLib'
publishVersion = '0.1.0'
desc = 'ShiLu\'s lib'
website = 'https://github.com/ihbing/ShiLuLib'
}
声明:转载请注明出处,原文地址:shlu's note