Skip to content

Regression (between 1.0.2 and 1.1.3) when building a spring-boot JAR with gradle. External JAR file is not embedded. #1215

@dam5s

Description

@dam5s

There seems to be a regression from spring-boot plugin 1.0.2.RELEASE to 1.1.3.RELEASE.

I have a project including a local jar file as follows:

dependencies {
  compile 'org.springframework.boot:spring-boot-starter-web:' + springBootVersion
  compile files("$rootDir/vendor/foo.jar")
}

When building with plugin 1.0.2.RELEASE, the jar is correctly embedded, and starting my server doesn't throw an error.

When building with plugin 1.1.3.RELEASE, the jar is not included, and starting my server through the built jar will throw a ClassNotFoundException when referring a class from foo.jar

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions