Skip to content

Commit f492922

Browse files
authored
Merge pull request #103 from lkorth/master
Update README.md
2 parents efb3c9d + e32e320 commit f492922

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

README.md

+27-26
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ and Nicholas Schrock (@schrockn) from [Facebook](https://www.facebook.com/), the
2424
## Table of contents
2525

2626
- [Features](#features)
27-
- [Examples](#examples)
28-
- [Let's get started!](#lets-get-started)
27+
- [Getting started!](#getting-started)
2928
- [Installing](#installing)
3029
- [Building](#building)
30+
- [Examples](#examples)
3131
- [Other information sources](#other-information-sources)
3232
- [Contributing](#contributing)
3333
- [Acknowledgements](#acknowledgements)
@@ -55,6 +55,31 @@ and Nicholas Schrock (@schrockn) from [Facebook](https://www.facebook.com/), the
5555
- Can supply your own `ValueCache<K, V>` implementations
5656
- Has very high test coverage
5757

58+
## Getting started!
59+
60+
### Installing
61+
62+
Gradle users configure the `java-dataloader` dependency in `build.gradle`:
63+
64+
```
65+
repositories {
66+
jcenter()
67+
}
68+
69+
dependencies {
70+
compile 'com.graphql-java:java-dataloader: 3.1.0'
71+
}
72+
```
73+
74+
### Building
75+
76+
To build from source use the Gradle wrapper:
77+
78+
```
79+
./gradlew clean build
80+
```
81+
82+
5883
## Examples
5984

6085
A `DataLoader` object requires a `BatchLoader` function that is responsible for loading a promise of values given
@@ -513,30 +538,6 @@ since it was last dispatched".
513538
The above acts as a kind of minimum batch depth, with a time overload. It won't dispatch if the loader depth is less
514539
than or equal to 10 but if 200ms pass it will dispatch.
515540

516-
## Let's get started!
517-
518-
### Installing
519-
520-
Gradle users configure the `java-dataloader` dependency in `build.gradle`:
521-
522-
```
523-
repositories {
524-
jcenter()
525-
}
526-
527-
dependencies {
528-
compile 'com.graphql-java:java-dataloader: 2.2.3'
529-
}
530-
```
531-
532-
### Building
533-
534-
To build from source use the Gradle wrapper:
535-
536-
```
537-
./gradlew clean build
538-
```
539-
540541

541542
## Other information sources
542543

0 commit comments

Comments
 (0)