Skip to content

Commit 072cf1d

Browse files
committed
#545 Fixed deprecation warnings in example provider project
1 parent 84f19ea commit 072cf1d

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

examples/dependency-project/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ If you'd like to inspect the zip, you'll find it at ~/.m2/repository/com/marklog
1717

1818
## Deploying and verifying the ml-gradle project
1919

20-
Next, deploy the app in the ml-gradle-client-project:
20+
Next, deploy the app in the ml-gradle-client-project, replacing "changeme" below with the password for your admin user
21+
(or using a different admin-like user):
2122

2223
cd ../ml-gradle-client-project
23-
gradle -i mlDeploy
24+
gradle -i mlDeploy -PmlUsername=admin -PmlPassword=change
2425

2526
You'll see logging like this that lets you know that the modules and data from the example-dependency zip
2627
will be included when the application is deployed:

examples/dependency-project/ml-gradle-client-project/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
// mavenLocal()
55
// }
66
// dependencies {
7-
// classpath "com.marklogic:ml-gradle:3.14.0"
7+
// classpath "com.marklogic:ml-gradle:4.1.1"
88
// }
99
//}
1010

1111
plugins {
12-
id "net.saliman.properties" version "1.4.6"
13-
id "com.marklogic.ml-gradle" version "3.14.0"
12+
id "net.saliman.properties" version "1.5.1"
13+
id "com.marklogic.ml-gradle" version "4.1.1"
1414
}
1515

1616
//apply plugin: "com.marklogic.ml-gradle"

examples/dependency-project/provider-project/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ task bundleJar(type: Jar) {
2525
from("src/main/ml-schemas") {
2626
into("example-dependency/ml-schemas")
2727
}
28-
destinationDir file("build/libs")
29-
baseName "example-dependency"
28+
destinationDirectory = file("build/libs")
29+
archiveBaseName = "example-dependency"
3030
}
3131

3232
artifacts {

0 commit comments

Comments
 (0)