Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ming zheng
Spring Cloud Function
Commits
6c58fe0c
Commit
6c58fe0c
authored
7 years ago
by
Dave Syer
Browse files
Options
Download
Email Patches
Plain Diff
Fix shadowJar configuration
See gh-170
parent
04f917c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spring-cloud-function-samples/function-sample-aws/build.gradle
+11
-0
...g-cloud-function-samples/function-sample-aws/build.gradle
with
11 additions
and
0 deletions
+11
-0
spring-cloud-function-samples/function-sample-aws/build.gradle
+
11
-
0
View file @
6c58fe0c
...
...
@@ -52,11 +52,22 @@ jar {
}
}
import
com.github.jengelman.gradle.plugins.shadow.transformers.*
shadowJar
{
classifier
=
'aws'
dependencies
{
exclude
(
dependency
(
"org.springframework.cloud:spring-cloud-function-web:${springCloudFunctionVersion}"
))
}
// Required for Spring
mergeServiceFiles
()
append
'META-INF/spring.handlers'
append
'META-INF/spring.schemas'
append
'META-INF/spring.tooling'
transform
(
PropertiesFileTransformer
)
{
paths
=
[
'META-INF/spring.factories'
]
mergeStrategy
=
"append"
}
}
configurations
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help