Skip to content

Commit

Permalink
v 1.1
Browse files Browse the repository at this point in the history
Improved readme and remove unnecessary tasks
  • Loading branch information
Svoka committed Apr 8, 2017
1 parent 2c2c6e6 commit 7d2e899
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 14 deletions.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
# GQLQueryBuilder
# GQLQueryBuilder

Build graphQL query string


## How to use

The use is quite simple, just write something like

```
String graphQLQueryString =
new GQLQueryBuilder().addObject(
new GQLObject("publications")
.addParam("isArchived",true)
.addField("title")
.addField("text")
.addField(
new GQLObject("author")
.setNeedNode(false)
.addField("firstName")
.addField("lasttName")
)
).build();
```



[![](https://jitpack.io/v/svoka/GQLQueryBuilder.svg)](https://jitpack.io/#svoka/GQLQueryBuilder)
13 changes: 0 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,3 @@ apply plugin: 'java'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}

task deleteJar(type: Delete) {
delete 'libs/gqlquerybuilder.jar'
}

task createJar(type: Copy) {
from('build/intermediates/bundles/release/')
into('libs/jars/')
include('classes.jar')
rename('classes.jar', 'gqlquerybuilder.jar')
}

createJar.dependsOn(deleteJar, build)

0 comments on commit 7d2e899

Please sign in to comment.