From 7fafba9d9a2fc1199cf45233f424c56527d36ec2 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 c709ae9a..88c159b2 100644 --- a/build.gradle +++ b/build.gradle @@ -20,4 +20,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