-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (44 loc) · 1.72 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
buildscript {
ext {
springBootVersion = '2.3.0.M1'
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'idea'
// in intellij tick 'delegate ide build to gradle'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'rnd.mate00'
version = '1.0.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile("org.springframework.boot:spring-boot-starter-activemq")
compile('org.springframework.boot:spring-boot-starter-security')
compile('mysql:mysql-connector-java')
compile('javax.validation:validation-api')
runtime('org.springframework.boot:spring-boot-devtools')
runtime('com.h2database:h2')
runtime('org.webjars:bootstrap:3.3.7-1')
runtime('javax.xml.bind:jaxb-api:2.3.0')
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile('org.springframework.security:spring-security-test')
testCompile('org.assertj:assertj-core')
}
/*
docker run --name=ebooks_base --env-file=/home/mate00/IdeaProjects/ebooks/src/main/resources/docker/env/env.list -v /home/mate00/IdeaProjects/ebooks/src/main/resources/docker/scripts:/docker-entrypoint-initdb.d -v /home/mate00/IdeaProjects/ebooks/src/main/resources/docker/config:/etc/mysql/conf.d mysql &
*/