-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
67 lines (54 loc) · 1.54 KB
/
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
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
buildscript(){
repositories{
mavenCentral()
}
dependencies{
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.4.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'eclipse'
repositories {
mavenCentral()
}
jar{
baseName="deploy"
version="0.1.0"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile("org.springframework.boot:spring-boot-starter-web") {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-jetty")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile('org.postgresql:postgresql:9.4-1201-jdbc41')
compile('org.webjars:bootstrap:3.3.4')
compile('org.webjars:jquery:2.1.3')
compile('org.webjars:jquery-ui:1.11.4')
compile('net.tanesha.recaptcha4j:recaptcha4j:0.0.7')
compile('com.cloudinary:cloudinary-http42:1.2.1')
compile('com.cloudinary:cloudinary-core:1.2.1')
compile('org.springframework.boot:spring-boot-starter-security')
compile('javax.mail:mail:1.4.7')
compile('com.cloudinary:cloudinary:1.0.14')
testCompile("junit:junit")
}
task wrapper(type: Wrapper){
gradleVersion='2.4'
}
task stage(type: Copy, dependsOn: [clean, build]){
from jar.archivePath
into project.rootDir
rename{
'inimigos-a-mesa.jar'
}
}
stage.mustRunAfter(clean)
clean << {
project.file('inimigos-a-mesa.jar').delete()
}