You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
project.afterEvaluate{
if (Os.isFamily(Os.FAMILY_MAC)) {
project.getTasksByName("assemble", true).each{ t -> t.dependsOn(dmgTask) }
} else {
project.getTasksByName("assemble", true).each{ t -> t.dependsOn(zipTask) }
}
}
Not all the users of the plugin might want those dependencies attached to the assemble tasks. It's trivial to add the dependency in the build if needed, but impossible to remove it as of Gradle 6+ (see https://docs.gradle.org/5.0/release-notes.html#deprecations )
Other similar plugins such as the Gradle Application plugin do not create similar link between distTar/distZip and the assemble task.
The text was updated successfully, but these errors were encountered:
Specifically remove the block:
Not all the users of the plugin might want those dependencies attached to the assemble tasks. It's trivial to add the dependency in the build if needed, but impossible to remove it as of Gradle 6+ (see https://docs.gradle.org/5.0/release-notes.html#deprecations )
Other similar plugins such as the Gradle Application plugin do not create similar link between
distTar
/distZip
and theassemble
task.The text was updated successfully, but these errors were encountered: