Skip to content

GSoC 2024. Declarative Syntax and Enhancements for the Checkstyle Plugin#


  • Enhanced Functionality: Enhance the Checkstyle plugin to support more of Checkstyle's features.
  • Better Declarativity: improve the declarative nature of Kotlin DSL when integrating plugins.







  • Checkstyle is a powerful tool, but currently, the Checkstyle plugin in Gradle may not support all of Checkstyle's features.
  • Kotlin DSL does not provide good declarative support when it comes to integrating plugins.


  • Enhanced Functionality - The CheckstyleExtension class is the extension class of the Gradle Checkstyle plugin.It is used to configure various options of the Checkstyle plugin.By Creating a new subclass of CheckstyleExtension and add some new properties, we can make the Checkstyle plugin support more of Checkstyle's features.

  • Better Declarativity - Create a Kotlin class to serve as the entry point for the DSL. This class can inherit from CheckstyleExtension. Within the DSL class, define properties and methods specific to the DSL, allowing for the configuration of Checkstyle's various options.

Target Repositories#


  • Create a new branch in the project repository specifically for developing the Checkstyle plugin functionality, which will contain the code necessary for implementing and testing the Checkstyle plugin.

  • Provide an enhanced version of the Gradle Checkstyle plugin. It will support additional Checkstyle features, such as code complexity, duplication, and dependency checks.

  • Provide an improved Kotlin DSL, particularly enhancing its declarativity when integrating plugins.