<p>After the upgrade from Gradle 4.10.2 to 5.6.4 in commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/bisq-network/bisq/commit/5fe71fa0a52511fdee5fb0de9f12751a1ae8a6ba/hovercard" href="https://github.com/bisq-network/bisq/commit/5fe71fa0a52511fdee5fb0de9f12751a1ae8a6ba"><tt>5fe71fa</tt></a>,<br>
all of Bisq's shadowJar tasks started failing Gradle's incremental build<br>
checks. This meant that repeated invocations of <code>gradle build</code> went from<br>
a handful of seconds to more than a minute, because shadowJar tasks had<br>
to be re-executed on every build.</p>
<p>For example, with --info enabled, one would see entries like this in the<br>
build output:</p>
<pre><code>> Task :seednode:shadowJar
Custom actions are attached to task ':seednode:shadowJar'.
Caching disabled for task ':seednode:shadowJar' because:
  Caching has not been enabled for the task
Task ':seednode:shadowJar' is not up-to-date because:
  Output property 'archiveFile' file [...]libs/seednode.jar has changed.
</code></pre>
<p>This problem was solved by in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="514119235" data-permission-text="Issue title is private" data-url="https://github.com/johnrengelman/shadow/issues/524" data-hovercard-type="pull_request" data-hovercard-url="/johnrengelman/shadow/pull/524/hovercard" href="https://github.com/johnrengelman/shadow/pull/524">johnrengelman/shadow#524</a> and made<br>
available in the project's recent 5.0.2 release. This patch simply bumps<br>
the shadow plugin version to that value, and gets us back to snappy<br>
incremental builds, e.g.:</p>
<pre><code>$ gradle build

BUILD SUCCESSFUL in 7s
</code></pre>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/3635'>https://github.com/bisq-network/bisq/pull/3635</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Upgrade Gradle Shadow plugin from 4.0.2 => 5.2.0</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3635/files#diff-0">build.gradle</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/3635.patch'>https://github.com/bisq-network/bisq/pull/3635.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/3635.diff'>https://github.com/bisq-network/bisq/pull/3635.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/3635?email_source=notifications&email_token=AJFFTNXIIM43ES2UQYJIHVLQUQNQHA5CNFSM4JPGUDQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2NEL5A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNQCCBU5IQI52YOAFPTQUQNQHANCNFSM4JPGUDQA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNVO7PSUAZ4IR6FCERDQUQNQHA5CNFSM4JPGUDQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2NEL5A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/3635?email_source=notifications\u0026email_token=AJFFTNXIIM43ES2UQYJIHVLQUQNQHA5CNFSM4JPGUDQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2NEL5A",
"url": "https://github.com/bisq-network/bisq/pull/3635?email_source=notifications\u0026email_token=AJFFTNXIIM43ES2UQYJIHVLQUQNQHA5CNFSM4JPGUDQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2NEL5A",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>