Skip to content

Repackage broken in gradle plugin #1204

@jvalkeal

Description

@jvalkeal

trouble with boot 1.1.2/1.1.3 gradle plugin. We use custom BootRepackage task to build a boot fat jar.
https://github.com/spring-projects/spring-hadoop/blob/master/build.gradle:

task appmasterBootJar(type: BootRepackage, dependsOn: appmasterJar) {
  withJarTask = appmasterJar
  mainClass = 'org.springframework.yarn.boot.app.SpringYarnBootApplication'
}

Manifest for file test-archive-appmaster.jar is(1.1.2/1.1.3):

$ cat MANIFEST.MF 
Manifest-Version: 1.0

Manifest for file test-archive-appmaster.jar is(1.1.1):

$ cat MANIFEST.MF 
Manifest-Version: 1.0
Start-Class: org.springframework.yarn.boot.app.SpringYarnBootApplicati
 on
Spring-Boot-Version: 1.1.1.RELEASE
Main-Class: org.springframework.boot.loader.JarLauncher

Problem might be in commit f83c6aa or any other just around it. There seem to be quite a few changes to gradle plugin right after 1.1.1.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions