Gradle Newsletter, January 2018 ======== Welcome to the January Newsletter! Happy new year from the Gradle Team! In this issue, we'll cover what's new in [Gradle 4.5][1], experimental [new C++ plugins for Gradle][2], and some fresh [new Gradle docs][3]. ## Gradle 4.5 [Gradle 4.5][1] was released, and features: * Faster up-to-date checks * Memory usage optimizations * Stable build cache support for C and C++ * [Kotlin DSL v0.14][4] * Signing artifacts with `gpg-agent` Here's a [42-second video][5] demonstrating what's new in Gradle 4.5. ## Experimental new C++ plugins In addition to recent improvements to incremental compilation and build caching for C and C++, Gradle is proud to introduce _4 new experimental C++ plugins_ for building and testing native projects. From the [introductory blog post][2]: > The plugins will eventually replace the software model plugins and take advantage of many new features baked into Gradle core, such as a rich dependency management engine, build cache, composite builds, finer grained parallel execution, build scans, and more. The post also shows samples for: * Building C++ libraries with the `cpp-library` plugin * Testing with Google Test and XCTest with the `cpp-unit-test` plugin * XCode integration with the `xcode` plugin * Running C++ applications with the `cpp-application` Plugin Your feedback would be very helpful as we stabilize these new plugins. Please try the plugins out and file issues in the [gradle-native repository][6]. ## Fresh new docs You shared your thoughts on [Gradle documentation][7], and now it's time to show you some of the improvements based on your feedback. * More examples and use-case oriented docs on [dependency management][8], the [Gradle wrapper][9], [command-line interface][10], and other popular topics. * Improved navigation showing where you are and linking to other areas of the documentation. * Mobile-friendliness and faster page speed. * "Edit this page" link that makes it easy to suggest changes. There is still a ways to go. Please continue to [file issues][11] and let us know what would make Gradle easier to understand and use. A special "thank you" to those who've helped out by using the "Edit this page" links. ## Community posts and projects - [Mastering Gradle caching and incremental builds][12] — In this post, Fedor Korotkov explains how Gradle caching works and how you can make builds much faster using Gradle's new build cache. - [Using Java 9 modularization to ship zero-dependency native apps][13] — Steve Perkins shows an example native application built using Java 9 modules and `jlink`. - [Annotation processing with apt and Gradle in Eclipse][14] — Part of an extensive tutorial for using Gradle with Eclipse, this section walks you through Gradle configuration for efficient use of the AutoValue annotation processor. - [Building Go projects made easy with Gradle][15] — In this talk, Benjamin Muschko discusses how Gradle can streamline Go project builds. - [Gradle scripts for Kotlin lovers][16] — A primer for adopting Gradle Kotlin DSL, providing guidelines, examples, and lessons learned. - [Gradle Initializr][17] — A web-based Gradle project generator. Supports various project types, DSLs, and Gradle versions. _Have something you'd like to see featured here? Just send us an email with the details to [newsletter@gradle.com][18]._ ## Upcoming online training - Feb 13-16: [Advanced Gradle Fundamentals for Java/JVM][19] - Mar 13-14: [Introduction to Gradle][20] - Anytime: [Maximizing Developer Productivity with Gradle Enterprise][21] Until next time! —The Gradle Team -- Gradle Inc. 325 9th Street San Francisco, CA 94103 https://gradle.org %%unsubscribe%% (Unsubscribe from future Gradle emails) [1]: https://docs.gradle.org/4.5/release-notes.html?utm_source=newsletter&utm_medium=email&utm_campaign=201801 [2]: https://blog.gradle.org/introducing-the-new-cpp-plugins?utm_source=newsletter&utm_medium=email&utm_campaign=201801 [3]: https://docs.gradle.org/4.5/userguide/userguide.html?utm_source=newsletter&utm_medium=email&utm_campaign=201801 [4]: https://github.com/gradle/kotlin-dsl/releases/tag/v0.14.0 [5]: https://youtu.be/setRVUlK45E [6]: https://github.com/gradle/gradle-native [7]: https://docs.gradle.org/current/userguide/userguide.html?utm_source=newsletter&utm_medium=email&utm_campaign=201801 [8]: https://docs.gradle.org/current/userguide/declaring_dependencies.html?utm_source=newsletter&utm_medium=email&utm_campaign=201801 [9]: https://docs.gradle.org/current/userguide/gradle_wrapper.html?utm_source=newsletter&utm_medium=email&utm_campaign=201801 [10]: https://docs.gradle.org/current/userguide/command_line_interface.html?utm_source=newsletter&utm_medium=email&utm_campaign=201801 [11]: https://github.com/gradle/gradle/issues/new [12]: https://medium.com/cirruslabs/mastering-gradle-caching-and-incremental-builds-37eb1af7fcde [13]: https://steveperkins.com/using-java-9-modularization-to-ship-zero-dependency-native-apps/ [14]: http://www.vogella.com/tutorials/EclipseGradle/article.html#annotation-processing-apt-with-gradle-in-eclipse [15]: https://speakerdeck.com/bmuschko/building-go-projects-made-easy-with-gradle [16]: https://medium.com/@StefMa/gradle-scripts-for-kotlin-lovers-1d04e2d0fc34 [17]: https://gradle-initializr.cleverapps.io/ [18]: mailto:newsletter@gradle.com [19]: https://gradle.org/training/advanced-gradle-jvm/register-2018-02-13/?utm_source=newsletter&utm_medium=email&utm_campaign=201801 "Advanced Gradle Fundamentals for Java/JVM" [20]: https://gradle.org/training/intro-to-gradle/register-2018-03-13/?utm_source=newsletter&utm_medium=email&utm_campaign=201801 "Introduction to Gradle" [21]: https://gradle.org/training/developer-productivity-with-gradle-enterprise/register-pre-recorded/?utm_source=newsletter&utm_medium=email&utm_campaign=201801 "Maximizing Developer Productivity with Gradle Enterprise"