uPortal-Project / uPortal-start

CLI tools for implementing uPortal, beginning with version 5.0.0
Apache License 2.0
19 stars 54 forks source link

Make custom gradle tasks incremental #94

Open ChristianMurphy opened 6 years ago

ChristianMurphy commented 6 years ago

Gradle supports re-using up-to-date artifacts to lower the amount of work the build system needs to do by default. Gradles official tasks already have this feature enabled by default, custom tasks have this feature disabled by default. uPortal-start implements some custom tasks we should investigate if we can enable incremental build annotations for these tasks.

References

https://docs.gradle.org/current/userguide/custom_tasks.html#incremental_tasks https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:up_to_date_checks https://github.com/Jasig/uPortal-start/tree/master/buildSrc/src/main/groovy/org/apereo/portal/start/gradle/plugins

bjagg commented 6 years ago

Would love to see this for tomcatInstall

ChristianMurphy commented 6 years ago

That'd be great! Would you be interested in opening a PR for that @bjagg ?