Skip to content
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

update the setup instructions #197

Merged
merged 4 commits into from
Feb 15, 2017
Merged

Conversation

digitalbuddha
Copy link
Contributor

The readme had laughable setup instructions. Laughable as in how funny it was that the gradle instructions were incorrect/incomplete :-)
This pr adds proper build.gradle configurations

close #196

README.md Outdated

```groovy

ext {
kotlinVersion = '1.0.6'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this for sample?

README.md Outdated
}
repositories {
jcenter()
maven { url "https://jitpack.io" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what dependency required this maven repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing.

README.md Outdated
apply plugin: 'com.apollographql.android'

dependencies {
compile 'com.apollographql.android:api:0.1.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe plugin adds dep to api internally, so we don't need it explicitly, but we need to verify this

@digitalbuddha
Copy link
Contributor Author

@sav007 updated with feedback, thanks!

README.md Outdated

dependencies {
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.apollographql.android:converter-pojo:0.1.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compile 'com.apollographql.android:converter-pojo:0.1.0' >> compile 'com.apollographql.android:converter:0.2.1-SNAPSHOT'

Copy link
Contributor

@marwanad marwanad Feb 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might as well use dep.apolloConverter

@martinbonnin
Copy link
Contributor

+1, thanks :)

@digitalbuddha digitalbuddha merged commit 36acdca into master Feb 15, 2017
@marwanad marwanad deleted the digitalbuddha-readme-update branch March 10, 2017 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.1.0: Getting "Must provide query string." Response From Server
4 participants