Skip to content

Commit

Permalink
Add additional input to the jandex task
Browse files Browse the repository at this point in the history
Possible workaround for kordamp/jandex-gradle-plugin#24
  • Loading branch information
jmini committed Aug 18, 2023
1 parent afce84e commit f94cbf0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ repositories {
mavenCentral()
}

tasks.named('jandex') {
inputs.files(sourceSets.findByName('main').output.classesDirs*.absolutePath.flatten())
.withPropertyName('sourceFiles')
.withPathSensitivity(PathSensitivity.RELATIVE)
}

tasks.register('printMethods') {
dependsOn tasks.named('jandex')
doLast {
Expand Down

0 comments on commit f94cbf0

Please sign in to comment.