https://kotlinlang.org logo
Title
s

Santhosh

01/19/2019, 5:20 PM
Hi,I deployed my library in github private repository.and i implemeted in my another android application with many versions release.Today i updated my library and pushed into repositpory released new version but unfortunately it unable to sync gradle getting error like "ERROR: Failed to resolve: com.github" .i used jitpack also and meaven also. but unable to resolve..Please help to resolve issue. Thanks.
n

Nikky

01/20/2019, 8:47 AM
it would help to show the failing buildscript, my guess is that there is a typo or you forgot to add jitpack to he repositories
s

Santhosh

01/21/2019, 7:19 AM
can you please give me the clarity that should i add all files like " .idea "folder to git to add jitpack repos. thanks.
and also one thing i want to clarify that previous 80 versions perfectly worked for me.but it is not same with last version (last update).
n

Nikky

01/21/2019, 8:00 AM
can you show me the buildscript and which repo you are trying to use with jitpack or not ? its kinda hard to understand what you are saying, no you do not need to add
.idea
to git, it should have no effect, you need to make sure your gradle buildscript has maven or maven-publish configured orrectly so publishToMavenLocal can be called by jitpack as part of the build process
s

Santhosh

01/21/2019, 9:34 AM
80 versions perfectly worked for me.but there is a issue with latest version