- Install sdkman http://sdkman.io by running
curl -s get.sdkman.io | bash
in your terminal [optional] - Install gradle via running
sdk i gradle 2.9
or by downloading it from http://gradle.org/gradle-download/ - Clone this repository by
git clone https://github.com/rgordeev/cbr.git
- Change current folder to project root by
cd cbr
- Run
gradle build
- Import project from your IDE, e.g. IntelliJ IDEA
- Run Launcher class in your IDE or you may run
gradle fatJar
and then runjava -jar build/libs/cbr-all-1.0.jar
from the root folder
wsimport -d src/main/java/ -p cbr.client -b http://www.w3.org/2001/XMLSchema.xsd -b customization.xjb -Xnocompile http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx?WSDL