-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
42 lines (32 loc) · 958 Bytes
/
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
buildscript {
repositories { mavenCentral() }
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.3.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'spring-boot'
group 'com.wielgolaski'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
configurations {
compile.exclude module: "spring-boot-starter-tomcat"
}
//sourceSets.main.resources { srcDir "src/main/scripts" }
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-jetty")
compile("org.springframework.boot:spring-boot-starter-actuator")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
configurations {
compile.exclude module: "spring-boot-starter-tomcat"
}
task zip(type: Zip, dependsOn: bootRepackage) {
from('build/libs') { include '*.jar' }
from 'scripts'
}
build.dependsOn(zip)