Files
Jacques Le Roux c2c609d8e4 Improved: Dependency verification (OFBIZ-12186)
I just read an ASF members thread about this article:
https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610

One member mentioned that the Groovy project is using the Gradle's dependency
verification feature[1] in the Apache Groovy build.

I suggest we do the same, even after the move from JCenter to MavenCentral where
things should be safer.

[1] https://docs.gradle.org/current/userguide/dependency_verification.html

This commit includes:
The  verification-metadata.xml and verification-keyring.gpg used by the
verification task
*.gpg as binary in .gitattrubtes for verification-keyring.gpg

The documentation about the verification in sy-dependency-verification.adoc
with a link and some unrelated changes in security.adoc about security for
OFBiz in production
An empty line removed in build.gradle
2021-02-27 13:53:33 +01:00

42 lines
963 B
Plaintext

# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files to always be normalized and converted
# to native line endings on checkout.
*.java text
*.groovy text
*.jsp text
*.ftl text
*.js text
*.sql text
*.txt text
*.properties text
*.xml text
*.xsl text
*.xsd text
*.html text
*.htm text
*.css text
*.gradle text
*.md text
Makefile text
README text
NOTICE text
LICENSE text
rc.ofbiz.* text
*.less text
*.adoc text
*.sh text
# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.gif binary
*.tif binary
*.zip binary
*.jks binary
*.ttf binary
*.gpg binary