11/*
2- * This buildscript shows how corb dependencies can be easily declared and then a Gradle configuration named
3- * "corb". This configuration is then used as the classpath for CorbTask, which is an extension of Gradle's
4- * JavaExec task that exposes the corb options as task attributes. The CorbTask will apply any corb options set via
5- * task attributes, project properties, or System properties.
2+ * This build script shows how CoRB dependencies can be easily declared and then a Gradle configuration named "corb".
3+ * This configuration is then used as the classpath for CorbTask, which is an extension of Gradle's JavaExec task that
4+ * exposes the CoRB options as task attributes.
5+ * The CorbTask will apply any corb options set via task attributes, project properties, or System properties.
66 */
77
88/*
1212 */
1313buildscript {
1414 repositories {
15- jcenter()
16- // Needed for corb dependency: XCC
17- maven { url " http://developer.marklogic.com/maven2/" }
15+ jcenter()
1816 }
1917 dependencies {
20- // Needed for CorbTask to dynamicaly generate properties from CORB Options class
21- classpath ' com.marklogic:marklogic-corb:2.4.5 '
18+ // Needed for CorbTask to dynamically generate properties from CORB Options class
19+ classpath " com.marklogic:marklogic-corb:${ corbVersion } "
2220 }
2321}
2422
2523plugins {
26- id " com.marklogic.ml-gradle" version " 4.0.4 "
24+ id " com.marklogic.ml-gradle" version " 4.1.0 "
2725}
2826
2927repositories {
3028 jcenter()
31-
32- // Needed for corb dependency: XCC
33- maven { url " http://developer.marklogic.com/maven2/" }
3429}
3530
3631configurations {
@@ -42,7 +37,7 @@ configurations {
4237
4338dependencies {
4439 // required to run CoRB2
45- corb ' com.marklogic:marklogic-corb:2.4.5 '
40+ corb " com.marklogic:marklogic-corb:${ corbVersion } "
4641 // optional
4742 // corb 'org.jasypt:jasypt:1.9.2' // would be necessary to leverage JasyptDecrypter
4843}
0 commit comments