Skip to content

Instantly share code, notes, and snippets.

@yanhua365
Created October 20, 2014 07:20
Show Gist options
  • Save yanhua365/7acf8bf95e08299e4664 to your computer and use it in GitHub Desktop.
Save yanhua365/7acf8bf95e08299e4664 to your computer and use it in GitHub Desktop.
Groovy中通过Grape设置solrj依赖的代码
@Grapes([
@Grab(group='org.apache.solr', module='solr-solrj', version='4.6.0'),
@Grab(group='org.slf4j', module='slf4j-api', version="1.6.6"),
@Grab(group='org.slf4j', module='slf4j-log4j12', version="1.6.6")
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment