Skip to content

Commit

Permalink
fix: Evaluate sourceSet dependencies after evaluation, to allow for p…
Browse files Browse the repository at this point in the history
…roper sourceSet override
  • Loading branch information
Berstanio committed Oct 16, 2024
1 parent 4adf277 commit 57aef0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public JnigenTask (JnigenExtension ext) {

setGroup("jnigen");
setDescription("Generates jnigen native code files and build scripts.");
dependsOn(ext.nativeCodeGeneratorConfig.sourceSet.getRuntimeClasspath());
getProject().afterEvaluate(project -> dependsOn(ext.nativeCodeGeneratorConfig.sourceSet.getRuntimeClasspath()));
}

@TaskAction
Expand Down

0 comments on commit 57aef0d

Please sign in to comment.