2017-09-19 6 views
0

ライブラリとbintrayを正常にアップロードしました。バージョンと依存関係が正しく表示されています。私はjcenterし、それをリンクするために要求されたときしかし、私はこの回答を得ました:bintrayの同じパッケージの下の2つのパス

こんにちは、

私たちは、同じパッケージの下に2つの経路、.aar /の.jarのために使用されるものがあることがわかります/.apkと瓶の下に -sources.jarと* -javadoc.jarファイル: /com/androiddev/android-dev-core/1.0.0

と.pomファイルの1: /COM /androiddev/core/1.0.0

単一のパッケージのパス。 2つのパスを統合し、どのパスプレフィックスを含めるかをお知らせください。

おかげで、 JFrogサポート

私はbintrayでファイルセクションの下に2つのパスを見ることができます。どのようにこれを解決するための任意のアイデア?

答えて

3

この問題を回避するには、ライブラリ名がbintrayで作成したものと似ていることを確認してください。それらが異なる場合は、bintrayUploadコマンドを使用してライブラリをAndroidスタジオ端末からbintrayにアップロードするときに2つの別個のパスを作成します。

build.gradleの私のbintrayの構成を以下に示します。ここで

ext { 
bintrayRepo = 'dev' //the maven repo name (created on bintray) 
bintrayName = 'android-dev-core' //the name you want to give at your project on bintray 
orgName = 'thisisjatinrana' //your user name 

publishedGroupId = 'com.jatin' //aaaa : the librairy group 
artifact = 'android-dev-core' //BBBB : the library name 
libraryVersion = "1.0.0" //the librairy version 

//the library will be : aaaa:BBBB:version 

libraryName = 'android-dev-core' 
libraryDescription = 'Android essential building blocks to speed up development process' 

siteUrl = 'https://github.com/thisisjatinrana/AndroidDevCore' 
gitUrl = 'https://github.com/thisisjatinrana/AndroidDevCore.git' 

developerId = 'jatinrana' 
developerName = 'Jatin Rana' 
developerEmail = '[email protected]' 

licenseName = 'The Apache Software License, Version 2.0' 
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' 
allLicenses = ["Apache-2.0"] 

}

アーティファクトとbintrayプロジェクト名はアンドロイドスタジオで、あなたのライブラリーの名前と同じでなければなりません。

関連する問題