Skip to content

Commit

Permalink
Merge pull request #241 from gradle/erichaagdev/license-notice-2
Browse files Browse the repository at this point in the history
NOTICE file is added and included in all assembled JAR files along with LICENSE
  • Loading branch information
erichaagdev authored Sep 4, 2024
2 parents 43e1784 + ba1de90 commit 40395ee
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,6 @@
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
<resource>LICENSE</resource>
<file>${project.basedir}/LICENSE</file>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
Expand All @@ -189,9 +183,18 @@
</plugin>
</plugins>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${project.basedir}/release/distribution</directory>
</resource>
<resource>
<directory>${project.basedir}</directory>
<includes>
<include>LICENSE</include>
</includes>
</resource>
</resources>
</build>

Expand Down

0 comments on commit 40395ee

Please sign in to comment.