Skip to content

Commit 8383f2f

Browse files
committed
#603 Removing constructor from mlShell
1 parent f228d54 commit 8383f2f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212
}
1313

1414
group = "com.marklogic"
15-
version = "4.3.1"
15+
version = "4.3.2-SNAPSHOT"
1616

1717
sourceCompatibility = "8"
1818
targetCompatibility = "8"

src/main/groovy/com/marklogic/gradle/task/shell/ShellTask.groovy

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ import org.gradle.api.tasks.TaskAction
1919
*/
2020
class ShellTask extends JavaExec {
2121

22-
ShellTask() {
23-
mainClass.set("com.marklogic.groovysh.Main")
24-
}
25-
22+
// This no longer specifies a mainClass, as the way that's done changed between Gradle 6.3 and 6.6.
23+
// The docs for this task will be updated so that a user knows how to set the mainClass in the rare event
24+
// that this task is actually used (this was included as a prototype and likely should never have been registered
25+
// in MarkLogicPlugin).
26+
2627
@TaskAction
2728
@Override
28-
public void exec() {
29+
void exec() {
2930
setStandardInput(System.in)
3031

3132
Project project = getProject()

0 commit comments

Comments
 (0)