Skip to content

Releases: opencastsoftware/gradle-convention-plugins

0.1.4

17 Jul 18:21
v0.1.4
dd09dc4
Compare
Choose a tag to compare

Changed

  • Tweaked the import order to make it closer to IntelliJ's default, by removing the newline between the javax and java import groups
  • Excluded generated code in Gradle's build/ directories from Java formatting
  • Only format top level .gradle.kts files by default, i.e. *.gradle.kts rather than **/*.gradle.kts

0.1.3

03 Apr 15:22
v0.1.3
07f57e4
Compare
Choose a tag to compare

Changed

This release updates numerous dependency versions: most notably it updates the gradle-maven-publish-plugin to version 0.25.1 to fix a problem which occurred when using it with the 1.x series of the gradle-plugin-publish-plugin.

It also includes a tweak to the copyright header text in order to make it more universal, following the recommendations in How and why to properly write copyright statements in your code.

0.1.2

17 Mar 16:11
v0.1.2
50d24e3
Compare
Choose a tag to compare

Removed

This release removes the addition of copyright headers to Gradle Kotlin DSL files, since it doesn't work very well.

The LicenseHeaderStep from Spotless requires a regex in order to determine the location of the header in the file, and since Gradle build files can have declarations in essentially any order, coming up with a general regex is pretty hard.

0.1.1

17 Mar 15:25
v0.1.1
0bc5550
Compare
Choose a tag to compare

Added

Added Spotless configuration for Gradle Kotlin DSL files and Java source code.

This is currently configured to add Apache 2.0 license headers to source files, sort and remove unused imports, normalise indentation to spaces and trim trailing whitespace.

No Java code formatting is enforced as yet, but Gradle Kotlin DSL files are formatted using ktfmt.

0.1.0

17 Mar 15:19
8231e95
Compare
Choose a tag to compare

Initial release containing configuration for publishing to Sonatype, git versioning and code coverage via Jacoco.