-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Add a Building section to the README #407
Conversation
I would put it under |
It's actually already there (it's a h3 inside the h2 Contributing) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed that this new section is already in Contributing
section.
Looks good. Let's just add info about pre-commit hook as well.
library-no-op/build.gradle
Outdated
@@ -15,6 +15,7 @@ android { | |||
lintOptions { | |||
warningsAsErrors true | |||
abortOnError true | |||
disable 'GradleDependency' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this? To not show warnings about future Gradle versions, like we have now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?
We need this as currently lint is failing on master (as we don't run it on CI) because of this.
In my change I'm suggesting to run ./gradlew build
in the readme, but that command will actually fail as of now.
Either we suppress GradleDependency
globally or we have to comment every dependency in the .gradle file with //noinspect GradleDependency
. I generally disable this Lint check and let Gradle (or the other tools like Dependabot) take care of the dependencies.
Anyway I'm amending this change as I'll take care of the lint failures in another PR
63369e0
to
62b9634
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found minor typo
Co-authored-by: Volodymyr Buberenko <vbuberen@users.noreply.github.com>
📄 Context
This is related to #248, I'm adding a Building section to the README to clarify how to setup the local environment for developing the library.
📝 Changes
Building
with a mention on the ktlint pre-commit hookgradlew build
suggested command in order to run all the tests locallyGradleDependency
lint check asgradlew build
is failing on master due to obsolete OkHTTP dependency (that's intentional).