Skip to content

Commit

Permalink
Merge pull request #4685 from kwvanderlinde/refactor/4389-reinstrumen…
Browse files Browse the repository at this point in the history
…t-on-form-file-changes

Mark .form files as inputs to :instrumentForms task
  • Loading branch information
cwisniew authored Feb 8, 2024
2 parents 75cfd35 + 5eccca7 commit 0100652
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ def instrumentForms = tasks.register('instrumentForms', Sync) {
from compileJava.destinationDirectory
into sourceSets.main.java.destinationDirectory

def formsSet = objects.sourceDirectorySet('forms', 'IntelliJ form files')
formsSet.srcDirs sourceSets.main.java.sourceDirectories
formsSet.include '**/*.form'
inputs.files(formsSet.files)

doLast {
ant.echo "Instrumenting IntelliJ GUI forms"
ant.taskdef(
Expand Down

0 comments on commit 0100652

Please sign in to comment.