-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (37 loc) · 1.04 KB
/
build.gradle
File metadata and controls
48 lines (37 loc) · 1.04 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
apply plugin: 'groovy'
apply plugin: 'spring-boot'
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.2.6.RELEASE'
}
}
group = 'pl.dk'
version = 0.1
sourceCompatibility = '1.8'
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
// for logback.groovy
runtime "org.codehaus.groovy:groovy-all:2.4.3"
compile 'org.springframework.boot:spring-boot-starter'
// for entities (hibernate-core, etc)
compile 'org.hibernate:hibernate-entitymanager'
// for spring annotated transactions
// and LocalContainerEntityManagerFactoryBean - condition for HibernateJpaAutoConfiguration
compile 'org.springframework:spring-orm'
// for datasource (for DataSourceAutoConfiguration to compile)
runtime 'org.apache.tomcat:tomcat-jdbc'
runtime 'com.h2database:h2'
}
wrapper {
gradleVersion '2.7'
}