-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
73 lines (60 loc) · 2.15 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
68
69
70
71
72
73
group 'io.digitalreactor'
version '1.0-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.5.RELEASE")
}
}
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'spring-boot'
sourceCompatibility = 1.8
applicationDefaultJvmArgs = ["-Dfile.encoding=utf-8"]
allprojects {
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Test) {
systemProperty "file.encoding", "UTF-8"
}
}
bootRun {
//Dev environment property
environment = [
//External api
"vendor.yandex.oauth.url" : "oauth.yandex.ru",
"vendor.yandex.api.url" : "api-metrika.yandex.ru",
"vendor.yandex.api.client.secret" : "b970bc1b38b7419aa27f8b8c3d5d13e0",
"vendor.yandex.api.application.id" : "b26e324d5a134168b090b3f23e77a0e7",
"vendor.yandex.api.application.auth" : "Basic YjI2ZTMyNGQ1YTEzNDE2OGIwOTBiM2YyM2U3N2EwZTc6Yjk3MGJjMWIzOGI3NDE5YWEyN2Y4YjhjM2Q1ZDEzZTA=",
//Mail sender
"mail.server": "smtp.yandex.ru",
"mail.port": 465,
"mail.ssl": true,
"mail.username": "[email protected]",
"mail.password": "DigitalReactor123",
"mail.address.sender": "[email protected]",
"mongodb.host" : "localhost"
]
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
//Module
compile project('digital-reactor-web')
compile project('digital-reactor-web-contract')
compile project('digital-reactor-report')
compile 'io.digitalreactor:digital-reactor-ui:1.0-SNAPSHOT'
//Security
compile 'org.springframework.security:spring-security-web:4.1.0.RELEASE'
compile 'org.springframework.security:spring-security-web:4.1.1.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: '1.3.6.RELEASE'
compile 'org.codehaus.groovy:groovy-all:2.3.11'
compile("org.springframework.boot:spring-boot-starter-web:1.4.0.RELEASE")
testCompile group: 'junit', name: 'junit', version: '4.11'
}