From 62d881200347928708e234c618863d5c749b9a1d Mon Sep 17 00:00:00 2001 From: Gregory Haskins Date: Fri, 6 Nov 2015 21:10:40 -0500 Subject: [PATCH 1/2] Include sources and javadoc jars --- build.gradle | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 63154f6..69985a9 100644 --- a/build.gradle +++ b/build.gradle @@ -61,12 +61,9 @@ publishing { groupId 'com.greghaskins' artifactId 'spectrum' version project.version - artifact (sourcesJar) { - classifier = 'sources' - } - artifact (javadocJar) { - classifier = 'javadoc' - } + + artifact sourcesJar + artifact javadocJar } } } From ec551b8167a4810ecca45225e4c2361126a7b9ae Mon Sep 17 00:00:00 2001 From: Gregory Haskins Date: Fri, 6 Nov 2015 21:15:23 -0500 Subject: [PATCH 2/2] Fix javadoc warning --- src/main/java/com/greghaskins/spectrum/Spectrum.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/greghaskins/spectrum/Spectrum.java b/src/main/java/com/greghaskins/spectrum/Spectrum.java index 56d81c8..6fafd39 100644 --- a/src/main/java/com/greghaskins/spectrum/Spectrum.java +++ b/src/main/java/com/greghaskins/spectrum/Spectrum.java @@ -18,7 +18,7 @@ public static interface Block { /** * Execute the code block, raising any {@code Throwable} that may occur. * - * @throws Throwable + * @throws Throwable if anything goes awry. */ void run() throws Throwable; }