We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68da98d commit 964d90eCopy full SHA for 964d90e
src/main/groovy/net/minecraftforge/gradleutils/changelog/ChangelogUtils.groovy
@@ -40,7 +40,8 @@ class ChangelogUtils {
40
action.execute task
41
42
project.afterEvaluate {
43
- project.tasks.named(LifecycleBasePlugin.ASSEMBLE_TASK_NAME).configure { it.dependsOn(task) }
+ //noinspection ConfigurationAvoidance -- we are in afterEvaluate
44
+ project.tasks.findByName(LifecycleBasePlugin.ASSEMBLE_TASK_NAME)?.configure { Task assemble -> assemble.dependsOn(task) }
45
}
46
47
0 commit comments