https://plugins.gradle.org/plugin/com.needhamsoftware.solr-gradle
The plugin comes pre-configured with defaults that look like this
solr {
zkHost 'localhost:9983'
confName 'myConfig'
confDir 'src/main/solr/myConfig'
}
To change any of these, just add the above solr block with the properties you want to configure.
The confDir
may be located anywhere your build can find it. The above is just an example.
To upload the files in the confDir
to zookeeper simply run
gradle upconfig
To download the present configuration from zookeeper (and overwite exiting files in confDir
!)
gradle downconfig