Browse Source

Merge pull request #15248 from thingsboard/fix/gradle-parallel-cache-isolation

Fix Gradle parallel build cache contention in Maven -T builds
pull/15254/head
Viacheslav Klimov 7 months ago
committed by GitHub
parent
commit
4ff02383ac
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 17
      pom.xml

17
pom.xml

@ -533,6 +533,8 @@
<arg>-PpkgInstallFolder=${pkg.installFolder}</arg>
<arg>-PpkgCopyInstallScripts=${pkg.copyInstallScripts}</arg>
<arg>-PpkgLogFolder=${pkg.unixLogFolder}</arg>
<arg>--project-cache-dir</arg>
<arg>${project.build.directory}/.gradle</arg>
<arg>--warning-mode</arg>
<arg>all</arg>
</args>
@ -889,6 +891,21 @@
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<filesets>
<fileset>
<directory>${main.dir}/packaging/java/.gradle</directory>
</fileset>
<fileset>
<directory>${main.dir}/packaging/js/.gradle</directory>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>

Loading…
Cancel
Save