diff --git a/smithy-jar/src/main/java/software/amazon/smithy/gradle/tasks/SmithyValidateTask.java b/smithy-base/src/main/java/software/amazon/smithy/gradle/tasks/SmithyValidateTask.java similarity index 83% rename from smithy-jar/src/main/java/software/amazon/smithy/gradle/tasks/SmithyValidateTask.java rename to smithy-base/src/main/java/software/amazon/smithy/gradle/tasks/SmithyValidateTask.java index e7cd947..c89cbe0 100644 --- a/smithy-jar/src/main/java/software/amazon/smithy/gradle/tasks/SmithyValidateTask.java +++ b/smithy-base/src/main/java/software/amazon/smithy/gradle/tasks/SmithyValidateTask.java @@ -42,21 +42,14 @@ public SmithyValidateTask(ObjectFactory objectFactory) { } /** - * Jar file to use as a source for the Smithy CLI validate command. + * Files to use as a sources for the Smithy CLI {@code validate} command. * - *
This is a required input for the {@link SmithyValidateTask}. In general - * this should be the output of a {@link org.gradle.jvm.tasks.Jar task}. For example: + *
This is a required input of the SmithyValidate task. * - *
- * Task jarTask = project.getTasks() - * .getByName(JavaPlugin.JAR_TASK_NAME); - * ... - * validateTask.getJarToValidate().set( - * jarTask.getOutputs().getFiles()); - *+ * @return file collection to use as sources for the validate task. */ @InputFiles - public abstract Property