Hi,
What is maven dependency of latest version of spring-expression?
What code should i add to get spring-expression maven dependency in my project?
Thanks
Hi,
The Spring Expression Language (SpEL) is a very useful library provided by Spring Framework. This is very powerful expression language that which is used for querying and manipulating an object graph at runtime.
You can use either XML or annotation-based Spring configurations to use the library in your project.
Here are list of operators available with it:
Type Operators Arithmetic +, -, *, /, %, ^, div, mod Relational <, >, ==, !=, <=, >=, lt, gt, eq, ne, le, ge Logical and, or, not, &&, ||, ! Conditional ?: Regex matches
If you can want to use this library in your project then add following line of code in your pom.xml file:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId> <version>5.1.2.RELEASE</version> </dependency>
Gradle users can add following code:
compile group: 'org.springframework', name: 'spring-expression', version: '5.1.2.RELEASE'
Following is code for SBT tool:
libraryDependencies += "org.springframework" % "spring-expression" % "5.1.2.RELEASE"
Thanks
Ads