gpt4 book ai didi

android - 将我的 android aar 发布到 jcenter

转载 作者:行者123 更新时间:2023-11-30 00:55:09 25 4
gpt4 key购买 nike

我想将我的 android aar 上传到 bintray .我引用this ,但是当我执行 cmd #gradlew bintrayUpload 时,cmd 显示 error message ,我的 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。

最佳答案

请查看以下主题之一: HTTP/1.1 401 Unauthorized when uploading binary on bintray Trouble Publishing Android Studio Library on jCenter with Bintray

您可能缺少 userOrg 参数。这取决于您的 Maven 存储库是否位于您的组织或用户下。

关于android - 将我的 android aar 发布到 jcenter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40297912/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com