buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@toulme.name>
Subject Re: Changes to concatenate and transform file contents when merging jars
Date Mon, 31 Jul 2017 03:44:19 GMT
To be complete, this came from my experience around Kotlin.

Here is the project I have created working with Kotlin, ,making a Spring boot executable jar.
https://github.com/atoulme/cuteuuidgenerator/blob/master/Buildfile <https://github.com/atoulme/cuteuuidgenerator/blob/master/Buildfile>

Note the project also comes with a gradle build file so you can compare!

> On Jul 30, 2017, at 8:33 PM, Antoine Toulme <antoine@toulme.name> wrote:
> 
> This is the equivalent - albeit in a more generic way - to the resource transformers
of the Maven shade plugin:
> https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html
<https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html>
> 
> This also should help with things like the uberjar extension, or in general creating
executable, shaded/all-in-one jars.
> 
>> On Jul 30, 2017, at 6:39 PM, Peter Donald <peter@realityforge.org> wrote:
>> 
>> I am curious what the use case for this is? Is it mostly merged metadata
>> descriptors of one sort or another?
>> 
>> On Sun, Jul 30, 2017 at 7:08 PM, Antoine Toulme <antoine@toulme.name> wrote:
>> 
>>> I have added to the codebase changes to allow concatenating file contents
>>> when merging archives.
>>> 
>>> I am also opening a pull request to do the same thing, but transforming
>>> file contents when they are merged:
>>> 
>>> https://github.com/apache/buildr/pull/28 <https://github.com/apache/
>>> buildr/pull/28>
>>> 
>>> Cheers!
>>> 
>>> Antoine
>> 
>> 
>> 
>> 
>> -- 
>> Cheers,
>> 
>> Peter Donald
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message