Skip to content

Commit 228ffc9

Browse files
authored
Merge pull request #640 from marklogic-community/feature/636-mlNewProject
#636 Clarified instructions in mlNewProject
2 parents 2598e6d + 8263870 commit 228ffc9

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
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.7"
15+
version = "4.4-SNAPSHOT"
1616

1717
java {
1818
sourceCompatibility = 1.8

examples/local-testing-project/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set this to the version you used when running
22
# "gradle -Pversion=(something) publishToMavenLocal" on your local ml-gradle repo
3-
mlGradleVersion=4.3.7
3+
mlGradleVersion=4.4-SNAPSHOT
44

55
mlHost=localhost
66
mlAppName=example

src/main/groovy/com/marklogic/gradle/task/NewProjectTask.groovy

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ class NewProjectTask extends MarkLogicTask {
88

99
@TaskAction
1010
void newProject() {
11-
println "Welcome to the new project wizard. Please answer the following questions to start a new project."
12-
println "Note that this will overwrite your current build.gradle and gradle.properties files, and backup copies of each will be made."
11+
println "\nWelcome to the new project wizard. Please respond to each of the following prompts to start a new project.\n"
12+
println "Each prompt below begins with '[ant:input]'; type your response for each prompt on the blank line, or press 'Enter' to " +
13+
"accept the default value or values in the brackets.\n"
14+
println "Note that this will overwrite your current build.gradle and gradle.properties files, and backup copies of each will be made.\n"
1315
ant.input(message: "Application name:", addproperty: "mlAppName", defaultvalue: "myApp")
1416
ant.input(message: "Host to deploy to:", addproperty: "mlHost", defaultvalue: "localhost")
1517
ant.input(message: "MarkLogic admin username:", addproperty: "mlUsername", defaultvalue: "admin")

0 commit comments

Comments
 (0)