File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
examples/local-testing-project
src/main/groovy/com/marklogic/gradle/task Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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.6
3+ mlGradleVersion =4.3.7-SNAPSHOT
44
55mlHost =localhost
66mlAppName =example
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.1 .1-bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.5 .1-bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ class NewProjectTask extends MarkLogicTask {
8989 }
9090
9191 void writeFile (String filename , String text ) {
92- File file = new File (filename);
92+ File file = new File (getProject() . getProjectDir(), filename);
9393 if (file. exists()) {
9494 new File (" backup-" + filename). write(file. text)
9595 }
96- println " Writing: " + filename
96+ println " Writing: " + file . getAbsolutePath()
9797 file. write(text)
9898 }
9999}
You can’t perform that action at this time.
0 commit comments