-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathbuild.gradle
More file actions
88 lines (78 loc) · 2.55 KB
/
build.gradle
File metadata and controls
88 lines (78 loc) · 2.55 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
79
80
81
82
83
84
85
86
87
88
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath('gradle.plugin.com.palantir.gradle.docker:gradle-docker:0.13.0')
classpath "io.spring.gradle:dependency-management-plugin:1.0.5.RELEASE"
}
}
group 'com.gmail.dvelopp'
version '1.0-SNAPSHOT'
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'com.palantir.docker'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply from: "gradle/liquibase.gradle"
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'org.springframework.boot:spring-boot-starter-aop'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.boot:spring-boot-starter-test'
compile 'org.springframework:spring-tx'
compile 'org.codehaus.groovy:groovy-all:2.3.11'
runtime 'org.postgresql:postgresql:9.4-1206-jdbc42'
compile 'org.apache.tomcat.embed:tomcat-embed-jasper'
compile 'org.hibernate:hibernate-core'
compile 'org.hibernate:hibernate-entitymanager'
compile 'org.projectlombok:lombok:1.18.4'
compile 'javax.servlet:jstl:1.2'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'commons-io:commons-io:2.5'
compile 'com.fasterxml.jackson.core:jackson-core:2.9.7'
compile 'com.h2database:h2:1.3.148'
compile 'com.javaslang:javaslang:2.0.0-RC4'
compile 'com.google.guava:guava:19.0'
compile 'org.easymock:easymock:3.4'
compile 'javax.xml.bind:jaxb-api:2.3.0'
testCompile 'org.assertj:assertj-core:3.2.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.0.RELEASE")
classpath("org.postgresql:postgresql:9.4-1206-jdbc42")
classpath('org.liquibase:liquibase-gradle-plugin:1.2.1')
}
}
jar {
baseName = 'spring-test'
version = '1.0.0'
}
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
task wrapper(type: Wrapper) {
gradleVersion = '4.10.2'
}
task unpack(type: Copy) {
dependsOn jar
from(zipTree("build/libs/${jar.archiveName}"))
into("build/dependency")
}
docker {
name "${project.group}/${jar.baseName}"
copySpec.from(tasks.unpack.outputs).into("dependency")
buildArgs(['DEPENDENCY': "dependency"])
}