Skip to content

Commit

Permalink
Simplify regex since module descriptors are handled separately
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jan 27, 2025
1 parent 69c248f commit 6532cd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spotless {
val javaFormatterConfigFile = configDir.file("junit-eclipse-formatter-settings.xml")

java {
licenseHeaderFile(license.headerFile, "(package|import|open|module) ")
licenseHeaderFile(license.headerFile, "(package|import) ")
importOrderFile(importOrderConfigFile)
val fullVersion = requiredVersionFromLibs("eclipse")
val majorMinorVersion = "([0-9]+\\.[0-9]+).*".toRegex().matchEntire(fullVersion)!!.let { it.groups[1]!!.value }
Expand Down

0 comments on commit 6532cd3

Please sign in to comment.