-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (40 loc) · 1.48 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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.21"
id "org.jetbrains.kotlin.kapt" version "1.3.21"
id "org.jetbrains.kotlin.plugin.spring" version "1.3.21"
id "org.jetbrains.kotlin.plugin.jpa" version "1.3.21"
id "org.springframework.boot" version "2.1.3.RELEASE"
id "io.spring.dependency-management" version "1.0.7.RELEASE"
id "org.mohme.gradle.elm-plugin" version "3.1.2"
}
repositories {
mavenCentral()
}
dependencies {
ext.queryDslVersion = "4.2.1"
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin"
implementation "org.flywaydb:flyway-core"
implementation "com.querydsl:querydsl-jpa:${queryDslVersion}"
kapt "com.querydsl:querydsl-apt:${queryDslVersion}:jpa"
runtimeOnly "org.springframework.boot:spring-boot-devtools"
runtimeOnly "org.postgresql:postgresql"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.jetbrains.kotlin:kotlin-test"
}
jar {
baseName = "kotlin-elm-table-example"
version = "0.0.1-SNAPSHOT"
}
sourceSets {
main.java.srcDirs += [file("${buildDir}/generated/source/kapt/main")]
}
processResources.dependsOn elmMake
elmMake {
buildDir = project.file("build/resources/main/static")
executionDir = "elm"
sourceDir = project.file("elm/src")
}