|
311
|
1 |
|
|
|
2 |
description = 'renkan-management' |
|
|
3 |
|
|
|
4 |
ext { |
|
|
5 |
spring_shell_version = '1.0.0.RELEASE' |
|
|
6 |
} |
|
|
7 |
|
|
|
8 |
dependencies { |
|
|
9 |
compile project(':renkan-core') |
|
|
10 |
compile group: 'org.springframework.shell', name: 'spring-shell', version:spring_shell_version |
|
|
11 |
runtime group: 'org.springframework', name: 'spring-webmvc', version:spring_version |
|
|
12 |
runtime group: 'javax.servlet', name: 'javax.servlet-api', version:javax_servlet_version |
|
|
13 |
} |
|
|
14 |
|
|
|
15 |
buildscript { |
|
|
16 |
repositories { jcenter() } |
|
|
17 |
dependencies { |
|
314
|
18 |
classpath 'com.github.jengelman.gradle.plugins:shadow:1.0.2' |
|
311
|
19 |
} |
|
|
20 |
} |
|
|
21 |
|
|
|
22 |
apply plugin: 'com.github.johnrengelman.shadow' |
|
|
23 |
|
|
|
24 |
jar { |
|
|
25 |
manifest { |
|
|
26 |
attributes 'Main-Class': 'org.springframework.shell.Bootstrap' |
|
|
27 |
} |
|
|
28 |
} |
|
|
29 |
|
|
|
30 |
shadowJar { |
|
|
31 |
exclude 'META-INF/*.SF' |
|
|
32 |
exclude 'META-INF/*.DSA' |
|
|
33 |
exclude 'META-INF/*.RSA' |
|
|
34 |
|
|
|
35 |
append('META-INF/spring.handlers') |
|
|
36 |
append('META-INF/spring.schemas') |
|
|
37 |
|
|
|
38 |
} |
|
|
39 |
|
|
314
|
40 |
configure(shadowJar) { |
|
|
41 |
group = BasePlugin.BUILD_GROUP |
|
|
42 |
} |