Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
772df9be
Commit
772df9be
authored
Jun 20, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add inputs to gradle bootRepackage task
See gh-1113
parent
0768402d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
build.gradle
spring-boot-samples/spring-boot-sample-web-ui/build.gradle
+4
-0
RepackagePluginFeatures.java
...mework/boot/gradle/repackage/RepackagePluginFeatures.java
+1
-0
No files found.
spring-boot-samples/spring-boot-sample-web-ui/build.gradle
View file @
772df9be
...
...
@@ -25,6 +25,10 @@ apply plugin: 'spring-boot'
mainClassName
=
"sample.ui.SampleWebUiApplication"
springBoot
{
classifier
=
'exec'
}
jar
{
baseName
=
'spring-boot-sample-web-ui'
version
=
'0.0.0'
...
...
spring-boot-tools/spring-boot-gradle-plugin/src/main/groovy/org/springframework/boot/gradle/repackage/RepackagePluginFeatures.java
View file @
772df9be
...
...
@@ -93,6 +93,7 @@ public class RepackagePluginFeatures implements PluginFeatures {
File
file
=
archive
.
getArchivePath
();
String
classifier
=
this
.
task
.
getClassifier
();
if
(
classifier
!=
null
)
{
this
.
task
.
getInputs
().
file
(
archive
);
String
withClassifer
=
file
.
getName
();
withClassifer
=
StringUtils
.
stripFilenameExtension
(
withClassifer
)
+
"-"
+
classifier
+
"."
...
...
Write
Preview
Markdown
is supported
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