-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
37 lines (31 loc) · 1005 Bytes
/
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
plugins {
id 'org.springframework.boot' version '2.5.1'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.graphql-java.tutorial'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.graphql-java:graphql-java:230521-nf-execution' // NEW
implementation 'com.graphql-java:graphql-java-spring-boot-starter-webmvc:2021-03-29T16-31-33-ae4bd96' // NEW
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.postgresql:postgresql:42.2.23'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
jar {
manifest {
attributes "Main-Class": 'com.graphqljava.tutorial.bookdetails.BookDetailsApplication'
}
from {
configurations.runtimeClasspath.findAll { it.name.endsWith("jar") }.collect { zipTree(it) }
}
duplicatesStrategy = 'include'
}
test {
useJUnitPlatform()
}