Adding alpn_boot configuration to the parent build file.
This allows all modules access to the alpnboot jar without having to copy&paste the configuration.
diff --git a/build.gradle b/build.gradle
index 55896f8..e9324eb 100644
--- a/build.gradle
+++ b/build.gradle
@@ -136,9 +136,17 @@
alpnboot_package_name = 'org.mortbay.jetty.alpn:alpn-boot:' + alpnboot_version
}
+ // Define a separate configuration for managing the dependency on Jetty alpnboot jar.
+ configurations {
+ alpnboot
+ }
+
dependencies {
testCompile libraries.junit,
libraries.mockito
+
+ // Make the Jetty alpnboot jar available to submodules via the alpnboot configuration.
+ alpnboot alpnboot_package_name
}
signing {