Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 1b56615

Browse files
committed
#31 Allowing gradle.properties to not exist
1 parent 57d3af0 commit 1b56615

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if (project.hasProperty("myBintrayUser")) {
5555
licenses = ['Apache-2.0']
5656
vcsUrl = 'https://github.com/rjrudin/' + project.name + '.git'
5757
version {
58-
name = "2.9.0"
58+
name = project.version
5959
released = new Date()
6060
}
6161
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
group=com.marklogic
22
javadocsDir=../gh-pages-marklogic-java/javadocs
3-
version=2.9.0
3+
version=2.9.1

src/main/java/com/marklogic/client/spring/BasicConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* XccTemplate, it needs to know the application name.
2121
*/
2222
@Configuration
23-
@PropertySource({ "file:gradle.properties" })
23+
@PropertySource(value = { "file:gradle.properties" }, ignoreResourceNotFound = true)
2424
public class BasicConfig {
2525

2626
@Value("${mlAppName}")

0 commit comments

Comments
 (0)