-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
50 lines (39 loc) · 1.19 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
group 'com.graphql-java'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'groovy'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
compile 'com.graphql-java:graphql-java:2017-08-26T14-55-13'
compile 'com.graphql-java:java-dataloader:1.0.1'
compile 'com.google.code.gson:gson:2.8.0'
compile 'org.eclipse.jetty:jetty-server:9.4.5.v20170502'
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-jackson:2.3.0'
compile 'org.slf4j:slf4j-simple:1.7.22'
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
testCompile 'org.codehaus.groovy:groovy-all:2.4.10'
}
task sourcesJar(type: Jar) {
dependsOn classes
classifier 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}