Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#636 Clarified instructions in mlNewProject #640

Merged
merged 1 commit into from
Dec 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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