forked from JThink/SkyEye
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
43 lines (33 loc) · 1.08 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
apply plugin: 'org.springframework.boot'
apply plugin: 'application'
dependencies {
compile project(':skyeye-base')
compile project(':skyeye-data:skyeye-data-http')
compile project(':skyeye-data:skyeye-data-rabbitmq')
compile "org.springframework.boot:spring-boot-starter"
compile "com.alibaba:fastjson:$fastJsonVersion"
compile "javax.mail:mail:1.4.7"
testCompile "org.springframework.boot:spring-boot-starter-test"
}
configurations {
compile.exclude group: "log4j", module: "log4j"
compile.exclude group: "org.slf4j", module: "slf4j-log4j12"
compile.exclude group: "org.springframework", module: "spring-web"
}
mainClassName = 'com.jthink.skyeye.alarm.launcher.Launcher'
buildscript {
repositories {
mavenLocal()
maven { url mavenPublicUrl }
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
classpath("io.spring.gradle:dependency-management-plugin:$gradlePluginVersion")
}
}
startScripts {
doLast {
unixScript.text = unixScript.text.replaceAll("lib/(.*)\n", "lib/\\*")
}
}