Skip to content

Commit

Permalink
remove unnecessary thing in build.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
darvil82 committed Dec 29, 2023
1 parent 4d273a0 commit b86fef1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 2 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@ version = "0.2.1"
description = "Command line argument parser"

dependencies {
val implWithJavadoc = { s: String ->
implementation(s)
implementation(s + ":javadoc")
}

implWithJavadoc("com.darvil:utils:0.1.0")
implWithJavadoc("com.darvil:terminal-text-formatter:1.0.0")
implementation("com.darvil:utils:0.1.0")
implementation("com.darvil:terminal-text-formatter:1.0.0")

implementation("org.jetbrains:annotations:24.0.1")
testImplementation(platform("org.junit:junit-bom:5.9.1"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package lanat.test.exampleTests;

import lanat.*;
import lanat.Argument;
import lanat.ArgumentGroup;
import lanat.Command;
import lanat.CommandTemplate;
import lanat.argumentTypes.*;
import org.jetbrains.annotations.NotNull;

Expand All @@ -21,7 +24,7 @@ public class CommandTemplateExample extends CommandTemplate.Default {
@Argument.Define(names = "arg1", argType = StringArgumentType.class)
public String arg1;

@Argument.Define(description = "<desc=!.type>")
@Argument.Define(description = "<desc=!.type>. Must be executable.")
public File file;

@Argument.Define(names = "arg1a", argType = StringArgumentType.class)
Expand Down

0 comments on commit b86fef1

Please sign in to comment.