From 19259d4dbb26cf07c800c0c25ba10703b8331126 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Wed, 12 Jan 2022 22:02:52 -0700 Subject: [PATCH] Add root convention Issue gh-613 --- build.gradle | 7 +++++++ etc/nohttp/allowlist.lines | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 etc/nohttp/allowlist.lines diff --git a/build.gradle b/build.gradle index 9ca9b1c0..4be4a929 100644 --- a/build.gradle +++ b/build.gradle @@ -21,4 +21,11 @@ buildscript { } } +apply plugin: 'io.spring.convention.root' + description = "Spring LDAP" + +nohttp { + allowlistFile = project.file("etc/nohttp/allowlist.lines") + source.exclude "buildSrc/build/**" +} \ No newline at end of file diff --git a/etc/nohttp/allowlist.lines b/etc/nohttp/allowlist.lines new file mode 100644 index 00000000..ff5b176d --- /dev/null +++ b/etc/nohttp/allowlist.lines @@ -0,0 +1,2 @@ +^http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd +^http://www.w3.org/2000/svg \ No newline at end of file