[英]Can not upload android library to JCenter repository in bintray.com
錯誤是無法創建包'maven'找不到 。
但是我已經在bintray.com中創建了Maven倉庫。 檢查下面的鏈接和屏幕截圖
https://bintray.com/powerupcloudtech/maven/webviewoverlay
我遵循以下教程。 但是收到相同錯誤超過2天。
1. https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en
3. https://medium.com/@eliaslecomte/publish-an-android-library-on-jcenter-a37770dc9570
我厭倦了嘗試從網絡上獲得所有解決方案。
下面是我在庫build.gradle中使用的代碼
ext {
bintrayRepo = 'maven'
bintrayName = 'webviewoverlay'
publishedGroupId = 'org.pcc.webviewOverlay'
libraryName = 'WebViewOverlay'
artifact = 'webviewoverlay'
libraryDescription = 'A widget to load WebView as an Overlay.'
siteUrl = 'https://github.com/itvignes09/WebViewOverlay'
gitUrl = 'https://github.com/itvignes09/WebViewOverlay.git'
libraryVersion = '1.0.0'
developerId = 'powerupcloudtech'
developerName = 'vigneswaran a'
developerEmail = 'vignesh.m@powerupcloud.com'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"] }
關於您附加的build.gradle,似乎有一些錯誤的配置。
我們建議您查看Bintray的GitHub中的“ Bintray示例”和“ Gradle Bintray插件” 。
如果您對此還有任何后續疑問,請隨時通過support@jfrog.com與我們聯系。
我們希望這會有所幫助。
我知道現在為時已晚,但可能會對其他人有所幫助。 libraryName和工件應且必須與項目中庫模塊的名稱相同 。 閱讀以下文章以獲取更多詳細信息,它詳細說明了所有內容。
https://medium.com/@abhishekint16/upload-your-first-android-library-1892c23aea0f
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.