-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
78 lines (65 loc) · 1.86 KB
/
build.gradle
File metadata and controls
78 lines (65 loc) · 1.86 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
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
75
76
77
78
group 'tk.dbcore'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'war'
apply plugin: 'jetty'
apply plugin: 'eclipse-wtp'
apply plugin: 'spring-boot'
apply plugin: 'idea'
sourceCompatibility = 1.8
version = '1.0'
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version
}
}
buildscript {
repositories {
maven { url "http://repo.spring.io/libs-snapshot" }
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.5.RELEASE")
classpath("org.springframework:springloaded:1.2.4.RELEASE")
}
}
idea { //이 부분은 인텔릭J에서 hot swapping 기능을 이용할 때 사용하는 부분이지만 일단 넣어두도록 하겠습니다.
module {
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")
}
}
repositories {
mavenCentral()
maven { url "http://repo.spring.io/libs-snapshot" }
}
dependencies {
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
testCompile group: 'junit', name: 'junit', version: '4.+'
//testCompile 'junit:junit:4.9'
compile("org.springframework.boot:spring-boot-starter-web")
//compile("org.thymeleaf:thymeleaf-spring4")
//compile("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect")
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
//compile("org.springframework:springloaded:1.2.4.RELEASE")
compile("org.assertj:assertj-core:3.2.0")
compile("org.projectlombok:lombok:1.16.6")
}
test {
systemProperties 'property': 'value'
}
bootRepackage {
mainClass = 'org.gradle.Application'
}
springBoot {
backupSource = false
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}