-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (40 loc) · 1.23 KB
/
build.gradle
File metadata and controls
49 lines (40 loc) · 1.23 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
48
49
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.3.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'spring-boot'
sourceCompatibility = 1.8
archivesBaseName = 'techdev-portal'
version = '1.0'
if(project.hasProperty('teamcity')) {
version += '-build-' + project.teamcity['build.number']
} else {
version += '-localbuild'
}
repositories {
mavenCentral()
}
springBoot {
executable = true
}
dependencies {
compile "org.springframework.boot:spring-boot-starter-web"
compile "org.springframework.boot:spring-boot-starter-jdbc"
compile "org.springframework.boot:spring-boot-starter-thymeleaf"
compile "org.springframework.boot:spring-boot-starter-security"
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.security.oauth:spring-security-oauth2:2.0.2.RELEASE"
compile "org.webjars:bootstrap:3.1.1"
compile "org.webjars:knockout:3.2.0-1"
compile "postgresql:postgresql:9.1-901.jdbc4"
compile "org.flywaydb:flyway-core"
compile "org.thymeleaf.extras:thymeleaf-extras-springsecurity4"
}
task wrapper(type: Wrapper) {
gradleVersion = '2.2'
}