Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
Mobile 2.7
-
None
Description
When a version must be consistent across multiple uses, e.g.:
tomcat "org.apache.tomcat.embed:tomcat-embed-core:9.0.24",
|
"org.apache.tomcat.embed:tomcat-embed-logging-juli:9.0.0.M6",
|
"org.apache.tomcat.embed:tomcat-embed-jasper:9.0.24"
|
... it is best practice to define a constant:
ext {
|
TOMCAT_VERSION="9.0.24"
|
... and then to use it every place that the version is needed:
tomcat "org.apache.tomcat.embed:tomcat-embed-core:${TOMCAT_VERSION}",
|
"org.apache.tomcat.embed:tomcat-embed-logging-juli:9.0.0.M6",
|
"org.apache.tomcat.embed:tomcat-embed-jasper:${TOMCAT_VERSION}"
|
IB Updates:
PR for review: https://github.com/couchbase/docs-couchbase-lite/pull/177