scala license header
See original GitHub issueHow can I apply the licenseHeader
for scala?
My configuration:
spotless {
scala {
scalafmt()
licenseHeader = '// TMA IOT'
}
}
fails with:
Could not set unknown property 'licenseHeader' for object of type com.diffplug.gradle.spotless.ScalaExtension.
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
sbt-header - Scaladex
This configuration will apply Apache License 2.0 headers to Scala and Java files. sbt-header provides two tasks: headerCreate and headerCheck , which are ......
Read more >Scala static code analysis: Track lack of copyright and license ...
Each source file should start with a header stating file ownership and the license which must be used to distribute the application.
Read more >de.heikoseeberger.sbtheader.HeaderPlugin Scala Example
This page shows Scala examples of de.heikoseeberger.sbtheader. ... Author: lagom File: CopyrightHeader.scala License: Apache License 2.0, 5 votes ...
Read more >License - Typelevel
Let the Scala compiler work for you. We provide type classes, instances, conversions, testing, supplements to the standard library, and much more.
Read more >[RSPEC-1451] Track lack of copyright and license headers - Jira
Each source file should start with a header stating file ownership and the ... [Scala] Enable Rule: S1451 Track lack of copyright and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No @nedtwigg was correct. Thx.
Ah, @nedtwigg got there before me! I was going to say more or less what he said, other than I think that actually the license header method is
licenseHeader('the license that I want', 'someRegex')
, so the two arguments are swapped. 😃