Step-by-Step Guide to Publish your Android Library!

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 20

  • @ridom8686
    @ridom8686 Рік тому +10

    What the bar means?

  • @demadima3135
    @demadima3135 Місяць тому +1

    Thanks for this guide !

  • @Kyrox-o3f
    @Kyrox-o3f Рік тому +3

    Any video to publish an android library in sonatype oss central maven using Java and gradle 8+?

  • @abhinavgupta1993
    @abhinavgupta1993 7 місяців тому +1

    where do I get the bar?

  • @medchaa
    @medchaa Місяць тому

    Please do a vidéo for sharing a kmm library

  • @SociedadAndroide
    @SociedadAndroide 10 місяців тому +1

    bar is not working....

  • @kenechukwuAkubue
    @kenechukwuAkubue 10 місяців тому +2

    why do you have to pass your credentials when you want to sync to your project? if I wan to use same library, i would have to request for your password?

    • @uwemnkereuwem6272
      @uwemnkereuwem6272 4 місяці тому

      The package is private that's why. If it was a public package you wouldn't need to do so.

  • @washtechotoyikama
    @washtechotoyikama 5 місяців тому

    I tried your way, everything is okay but i can not see in packages my package why ? Could you support to me ?

  • @senzou6464
    @senzou6464 8 місяців тому +2

    thank u .. u save my day

  • @FerreraNaig
    @FerreraNaig 5 місяців тому

    Didn't work for me. Followed the steps and it's not publishing on git

  • @nareshmeena07
    @nareshmeena07 10 місяців тому

    Can anyone please tell where do we find the related linraried for android

  • @UsmanKhan-qy1qy
    @UsmanKhan-qy1qy 10 місяців тому

    Can any one tell me how do we publish such libraries to maven repository

  • @LongNguyen-ym5zi
    @LongNguyen-ym5zi 5 місяців тому

    Thank you for sharing this, however in case a bit different
    1. I published library A as you did above
    2. I create another library B using lib A as private repository
    3. Now, I want to publish lib B, but it always complains that couldn't find lib A from the project.
    Did you have this case before?
    Note that: I can run and build lib B successfully, just can't publish it.
    Looking forward to your answer, thank you.

  • @RajendraKumar-ds5xw
    @RajendraKumar-ds5xw 8 місяців тому

    make latest android studio version

  • @arvindshishodia5075
    @arvindshishodia5075 8 місяців тому

    Thanks for the solution

  • @yeljayad
    @yeljayad Місяць тому

    u need to add this part for dependency injection :
    To integrate dependency :
    project.afterEvaluate {
    publishing {
    publications {
    libraryProject(MavenPublication) {
    groupId = 'com.xxxx.xxxxx'
    artifactId = 'arxxxxxx'
    version = '0.1'
    artifact bundleReleaseAar
    pom.withXml {
    def dependenciesNode = asNode().appendNode('dependencies')
    configurations.implementation.allDependencies.each { dependency ->
    def dependencyNode = dependenciesNode.appendNode('dependency')
    dependencyNode.appendNode('groupId', dependency.group)
    dependencyNode.appendNode('artifactId', dependency.name)
    dependencyNode.appendNode('version', dependency.version)
    }
    }
    }
    }
    }
    }