Publish an Android Library to MavenLocal with Gradle | Android Studio

preview_player
Показать описание
In this video, we are going to learn how to create and publish an Android library to maven local using Gradle and then consume it from a different project.

Kotlin Extensions Tutorial:

💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾
Between my full-time job and my family life,
I try to find free time to create content for this channel.
You can support me and help this channel keep growing:
💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾💾

💻 This Is My Development Setup (Affiliate): 💻
============
Main Monitor:
Secondary Monitor:
Graphics Card:
CPU:
RAM:
Keyboard:
Mouse:
Headphones:
Microphone:
=============

For the algorithm:
Publish Android library to maven local
Android library with Javadocs
Publish Android library with Javadocs to maven local
How to Publish an AAR to a local repository using Gradle
Use Android Studio to publish an Android Library to MavenLocal

#maven #library #gradle
Рекомендации по теме
Комментарии
Автор

My publishtomavenlocal gradle is giving success but aar is not getting generated.

sachinmalik
Автор

Hi there!
Thank you so much.
Excellent job and presentation.

I'm going to use your tutorial to try to resolve a situation.
I have a .aar library, I need to consume it from another library that I will create as you show.

Cicerohisolucoes
Автор

AAR file is not generated. Why its happening? Pls give us some solution.

nayanapetkar
Автор

Hey, i am not getting the publishing as a task in Gradle tab. Can you pls help with this?

nayanapetkar
Автор

Can you share GitHub repo link, I don't find publish script

SushilJainam
Автор

Hi sir, how to publish it on Maven Central Globally, any help, source or suggestion?

gauravkumar-bspf
Автор

why theres no AAR being generated and the classes of the library is not indexed on the App that will use it

dashknow
Автор

yes i can publish to local but can you show us how to publish to maven remote repository?

visalny
Автор

I am sorry for the viewvers. this is not gonna help you. it feels like this person just consumed your time for nothing. Although he want to tell about android library, but took all the time explaining java libraries. Please don't waste your time like me as you might be in office trying to work something out. this person even did not provide the code that he copy pasted. bravo. Please stop making videos until you get to know how to write effective script.

irfanyaqub
Автор

This person remind of my senior form 5 years ago. I swear dito same. He use to tell code same but never let us see the code and never provided the code. Worst experience with him at all. Its better not to make the video if you don't give students see the code: or watch it byyourself the video before you publish it. Cant even see two {task androidSourceJar}. Gave your video to my junior, Your code is right but you don't know how to let others digest. Finally had to teach him and do in front of him. Please don't waste other developers time. its a humble request.

innerpeace