-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (36 loc) · 1.39 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
buildscript {
ext {
// https://github.com/spring-projects/spring-boot/wiki#release-notes
springBootVersion = '2.6.2'
couchdbJavaVersion = '83d5c5bb78'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: "kotlin"
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
version = '0.0.1-SNAPSHOT'
//project.ext.mainClass = "me.retrodaredevil.maintenance.MaintenanceThingApplication"
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
// https://mvnrepository.com/artifact/com.graphql-java/graphql-java-spring-boot-starter-webmvc
implementation 'com.graphql-java:graphql-java-spring-boot-starter-webmvc:2.0'
// implementation 'com.graphql-java:graphql-java:14.0' graphql-spqr adds this dependency
// https://github.com/leangen/graphql-spqr/releases
implementation 'io.leangen.graphql:spqr:0.11.2'
implementation "com.github.retrodaredevil:couchdb-java:$couchdbJavaVersion"
implementation project(":core")
runtimeOnly project(":client")
}
task copyWebApp(type: Copy) {
from "$rootDir/client/build"
into "$rootDir/app/build/resources/main/static/."
}
copyWebApp.dependsOn(":client:build")
bootJar.dependsOn(copyWebApp)
bootRun.dependsOn(copyWebApp)