-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (40 loc) · 1.35 KB
/
build.gradle
File metadata and controls
47 lines (40 loc) · 1.35 KB
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
group = 'com.myolnir'
version = projectVersion
description = "Runnable skeleton for spring boot with MongoDB connection, basic controller"
defaultTasks 'check'
repositories {
jcenter()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-data-mongodb")
compile("org.springframework.boot:spring-boot-starter-web")
compile("commons-io:commons-io:2.4")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.hsqldb:hsqldb:2.3.3")
compile('mysql:mysql-connector-java:5.1.38')
compile('org.springframework.cloud:spring-cloud-starter-eureka:1.0.6.RELEASE')
testCompile("org.springframework.boot:spring-boot-starter-test")
}
eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}
wrapper {
gradleVersion = '2.2.1'
jarFile = "${project.projectDir}/" + wrapperPath + '/wrapper.jar'
scriptFile = "${project.projectDir}/" + wrapperPath + '/wrapper'
}