I created an Android Library and upload to bintray.com
https://bintray.com/vsay01/maven/androidcommonutils
It was link to JCenter as well.
In my gradle of the app, I added:
implementation 'com.vsay01.utils:androidcommonutils:1.0.0'
In my gradle of the project, I added:
allprojects {
repositories {
jcenter()
google()
maven {
url 'https://dl.bintray.com/vsay01/maven'
}
}
}
When sync the gradle, I got the error:
Failed to resolve: androidcommonutils
Could anyone point out what could be wrong for this ?
[EDITED] Library information:
ext {
bintrayRepo = 'maven'
bintrayName = 'androidcommonutils'
publishedGroupId = 'com.vsay01.utils'
libraryName = 'AndroidCommonUtils'
artifact = 'androidcommonutils'
libraryDescription = 'Collections of practical Android common utils classes for developer'
siteUrl = 'https://github.com/vsay01/AndroidCommonUtils'
gitUrl = 'https://github.com/vsay01/AndroidCommonUtils.git'
libraryVersion = '1.0.0'
developerId = 'vsay01'
developerName = 'Vortana Say'
developerEmail = 'sayvortana.itc@gmail.com'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
Thanks
Under the artifactId androidcommonutils
you have only the .pom
file and missing the artifacts.
Your artifacts are located under androidutilslibrary
.
You need to move the pom or the artifacts to use the correct artifactId
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.