Skip to content

Commit

Permalink
Merge pull request #640 from marklogic-community/feature/636-mlNewPro…
Browse files Browse the repository at this point in the history
…ject

#636 Clarified instructions in mlNewProject
  • Loading branch information
rjrudin authored Dec 20, 2022
2 parents 2598e6d + 8263870 commit 228ffc9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

group = "com.marklogic"
version = "4.3.7"
version = "4.4-SNAPSHOT"

java {
sourceCompatibility = 1.8
Expand Down
2 changes: 1 addition & 1 deletion examples/local-testing-project/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Set this to the version you used when running
# "gradle -Pversion=(something) publishToMavenLocal" on your local ml-gradle repo
mlGradleVersion=4.3.7
mlGradleVersion=4.4-SNAPSHOT

mlHost=localhost
mlAppName=example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ class NewProjectTask extends MarkLogicTask {

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

0 comments on commit 228ffc9

Please sign in to comment.