Skip to content

Commit

Permalink
Proper license and notice processing in Gradle artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
stariy95 committed Dec 20, 2021
1 parent 01df105 commit 4e6c3f7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cayenne-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ task versionFile {

// Copy license and notice files
task licenseFiles(type: Copy) {
from '../build-tools/cayenne-legal/src/main/resources/'
from './target/classes/'
into "$buildDir/resources/main/"
}

Expand Down
10 changes: 10 additions & 0 deletions cayenne-gradle-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GRADLE TASKS EXECUTOR -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down

0 comments on commit 4e6c3f7

Please sign in to comment.