@@ -24,10 +24,10 @@ and Nicholas Schrock (@schrockn) from [Facebook](https://www.facebook.com/), the
24
24
## Table of contents
25
25
26
26
- [ Features] ( #features )
27
- - [ Examples] ( #examples )
28
- - [ Let's get started!] ( #lets-get-started )
27
+ - [ Getting started!] ( #getting-started )
29
28
- [ Installing] ( #installing )
30
29
- [ Building] ( #building )
30
+ - [ Examples] ( #examples )
31
31
- [ Other information sources] ( #other-information-sources )
32
32
- [ Contributing] ( #contributing )
33
33
- [ Acknowledgements] ( #acknowledgements )
@@ -55,6 +55,31 @@ and Nicholas Schrock (@schrockn) from [Facebook](https://www.facebook.com/), the
55
55
- Can supply your own ` ValueCache<K, V> ` implementations
56
56
- Has very high test coverage
57
57
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
+
58
83
## Examples
59
84
60
85
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".
513
538
The above acts as a kind of minimum batch depth, with a time overload. It won't dispatch if the loader depth is less
514
539
than or equal to 10 but if 200ms pass it will dispatch.
515
540
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
-
540
541
541
542
## Other information sources
542
543
0 commit comments