File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,19 @@ repositories {
2424}
2525
2626
27+ // For MLCP 11.1.0 and higher, Gradle needs to be told which version of the guava dependency to use.
28+ // Per https://stackoverflow.com/questions/76897459/how-can-i-make-gradle-pick-the-right-guava-variant/77399208#77399208,
29+ // the following will achieve that.
2730configurations {
28- mlcp
31+ mlcp {
32+ attributes {
33+ attribute(TargetJvmEnvironment . TARGET_JVM_ENVIRONMENT_ATTRIBUTE , objects. named(TargetJvmEnvironment . class, TargetJvmEnvironment . STANDARD_JVM ))
34+ }
35+ }
2936}
3037
3138dependencies {
32- mlcp ' com.marklogic:mlcp:10.0.9.5 '
39+ mlcp ' com.marklogic:mlcp:11.1.0 '
3340
3441 /**
3542 * mlcp uses logback for logging, and without a logback configuration file, no MLCP logging will appear.
You can’t perform that action at this time.
0 commit comments