我想将我的 android aar 上传到bintray。我对此表示赞同,但是当我执行 cmd#gradlew bintrayUpload
时,cmd 显示错误消息,我的 gradle 文件如下:
bintray {
user = properties.getProperty('bintray.user')
key = properties.getProperty('bintray.apikey')
configurations = ['published', 'archives']
dryRun = false
publish = true
pkg {
repo = 'maven'
name = 'ActionAnimatorSet'
desc = 'An animator operation set on Android'
websiteUrl = 'https://github.com/paulyung541/ActionAnimatorSet'
issueTrackerUrl = 'https://github.com/paulyung541/ActionAnimatorSet/issues'
vcsUrl = 'https://github.com/paulyung541/ActionAnimatorSet.git'
licenses = ['GNU GENERAL PUBLIC LICENSE, Version 3.0']
labels = ['Android', 'ObjectAnimator', 'AnimatorSet']
publicDownloadNumbers = true
version {
name = '1.0.0'
desc = 'first version'
vcsTag = '1.0'
}
}
}
publishing {
publications {
Publication(MavenPublication) {
groupId 'com.paulyung'
artifactId 'actionanimset'
version '1.0.0'
}
}
}
我已经在 bintray 中设置了一个 Maven,但是 cmd 总是指出我没有一个 Maven。