New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import error: Error:No such property: OSSRH_USERNAME for class: ... #19
Comments
Go to the graddle.settings file and add the defs or comment out the publish bits from the build file. poke around and you should find it. |
which file exactly, and what exactly to put there ? Only similar file is "settings.gradle" , and its content is just that: include ':recyclerviewfastscroller' |
You need only recyclerviewfastscroller folder to import library into your project.
to your
from then add |
@danoz73 I successfully imported library as project to android studio. This is no problem with the project. Issue can be closed. |
@IlyaEremin I don't understand. How did you import the project (library&sample) without any needed step? Why do I keep getting this error? |
@AndroidDeveloperLB I updated previous comment, please read it :) |
@AndroidDeveloperLB sorry, I think that you want to just import library itself without sample. You can compile sample just by deleting
from |
@IlyaEremin I don't understand what you mean. Do you suggest creating a new project, downloading only the library part, and import it as a module? EDIT: ok, I will try. EDIT:
Should I delete all of those? |
ok, I've deleted both and now it works. What do those lines do anyway? |
@AndroidDeveloperLB something related with uploading on maven. I don't know exactly what but it doesn't affect on library using. |
Thank you for helping. I think you should check it out, as I never had this issue on other repositories (thought I do have other issues from time to time). |
Thanks for identifying this issue. Those lines were, by default, including the configuration of the maven upload task that I have for my own convenience. I have now made it a requirement to specifically specify a gradle property ( Thanks to @timroes for a nice solution to this issue! |
I don't understand, but thank you for fixing this. |
I keep getting this error when trying to import the project into Android-Studio:
Error:No such property: OSSRH_USERNAME for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
What is this? How can I fix this?
The text was updated successfully, but these errors were encountered: