Felix>PS I hope to find time to look at the gradle work when the build is
Felix>running again.
Note: Gradle-based build is running, so you could try it just fine.
My gradle branch is lagging behind, however the difference is minimal.
As of now, I'm working on two items:
1) Generate license files (it is almost complete).
2) "Use .gitattributes" to infer CRLF/LF for binary and source artifacts
A nice outcome of #2 would be that "source artifacts" would be coded as
follows (+ something regarding shell scripts).
It would automatically include text files as CRLF when building zip, and LF
when building tgz.
val baseFolder = "apache-jmeter-${rootProject.version}"
fun CrLfSpec.sourceLayout() = copySpec {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
into(baseFolder) {
// Apply common gitattributes to license files
gitattributes(this, gitProps)
// Note: license content is taken from "/build/..", so
gitignore should not be used
// Note: this is a "license + third-party licenses", not just Apache-2.0
with(licenseNotice(licenseType = "source"))
}
into(baseFolder) {
// Ignore files ignored by Git
gitignore(gitProps)
gitattributes(this, gitProps)
// Include all the source files
from(rootDir)
}
}
Vladimir