-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
75 lines (59 loc) · 1.91 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
buildscript {
ext.kotlin_version = '1.1.2-5'
ext.spring_boot_version = '1.5.3.RELEASE'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
}
}
plugins {
id "com.moowork.node" version "1.3.1"
}
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'kotlin'
apply plugin: 'org.springframework.boot'
apply plugin: 'application'
jar {
baseName = 'topscores'
version = '1.0'
}
node {
version = '8.16.0'
npmVersion = '6.4.1'
download = true
}
repositories {
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'org.springframework.boot:spring-boot-starter'
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.boot:spring-boot-starter-jdbc'
compile('org.springframework.boot:spring-boot-starter-thymeleaf') {
exclude group: 'nz.net.ultraq.thymeleaf', module: 'thymeleaf-layout-dialect'
}
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'redis.clients:jedis:3.1.0'
compile 'io.springfox:springfox-swagger2:2.9.2'
compile 'io.springfox:springfox-swagger-ui:2.9.2'
compile 'org.postgresql:postgresql:9.4.1212'
compile 'com.zaxxer:HikariCP:2.6.0'
compile 'org.webjars:webjars-locator'
compile 'org.webjars:jquery:2.2.4'
compile 'org.webjars:jquery-ui:1.11.4'
compile 'org.webjars:bootstrap:3.3.6'
compile 'com.github.ajalt:clikt:2.0.0'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
task npmRunBuild(type: NpmTask) {
args = ['run', 'build']
}
npmRunBuild.dependsOn npmInstall
classes.dependsOn npmRunBuild
nodeSetup.onlyIf = { true }