Skip to content

Commit 7c4f497

Browse files
chore(build): add plugin-doc-lint
1 parent 74023ff commit 7c4f497

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id 'io.kestra.gradle.spotless-conventions' version '1.1.0'
33
id "com.vanniktech.maven.publish" version "0.36.0"
44
id "io.kestra.gradle.inject-bom-versions" version "1.1.0"
5+
id "io.kestra.gradle.plugin-doc-lint" version "1.2.4"
56
id 'java-library'
67
id "idea"
78
id 'jacoco'

src/main/java/io/kestra/plugin/soda/AbstractSoda.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ public abstract class AbstractSoda extends Task {
6060
private DockerOptions docker;
6161

6262
@Schema(
63-
title = "The task runner to use.",
63+
title = "The task runner to use",
6464
description = "Task runners are provided by plugins, each have their own properties."
6565
)
6666
@PluginProperty(group = "execution")
6767
@Builder.Default
6868
@Valid
6969
private TaskRunner<?> taskRunner = Docker.instance();
7070

71-
@Schema(title = "The task runner container image, only used if the task runner is container-based.")
71+
@Schema(title = "The task runner container image, only used if the task runner is container-based")
7272
@Builder.Default
7373
@PluginProperty(group = "execution")
7474
private Property<String> containerImage = Property.ofValue(DEFAULT_IMAGE);
@@ -85,7 +85,7 @@ public void setDockerOptions(DockerOptions dockerOptions) {
8585
}
8686

8787
@Schema(
88-
title = "Input files are extra files that will be available in the dbt working directory.",
88+
title = "Input files are extra files that will be available in the dbt working directory",
8989
description = "You can define the files as map or a JSON string. " +
9090
"Each file can be defined inlined or can reference a file from Kestra's internal storage."
9191
)
@@ -103,7 +103,7 @@ public void setDockerOptions(DockerOptions dockerOptions) {
103103
protected Property<List<String>> requirements;
104104

105105
@Schema(
106-
title = "Additional environment variables for the current process."
106+
title = "Additional environment variables for the current process"
107107
)
108108
@PluginProperty(group = "execution")
109109
protected Property<Map<String, String>> env;

src/main/java/io/kestra/plugin/soda/Scan.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public class Scan extends AbstractSoda implements RunnableTask<Scan.Output> {
107107
title = "SodaCL checks definition",
108108
description = "Required map rendered to `checks.yml` and executed against the `kestra` data source. Follow SodaCL syntax; failing checks mark the task accordingly."
109109
)
110-
@PluginProperty(dynamic = true)
110+
@PluginProperty(dynamic = true, group = "main")
111111
@NotNull
112112
@NotEmpty
113113
Map<String, Object> checks;

0 commit comments

Comments
 (0)