- JDK 13
./gradlew build
./gradlew test
Run the app from gradle command line with JSON content seems to be quite challenging.
This github issue has been added in 2016 and seems to be fixed in v3.3 but I didn't succeed to run the app from CLI with JSON arg.
Broken command example: ./gradlew run --args='--densest {\"n\":2}'
Note: I mainly used unit tests during development
You can run this directly in your IDE with program arguments: --nbpoi {\"min_lat\":6.5,\"min_lon\":-7}'
You can run this directly in your IDE with program arguments: --densest {\"n\":2}
In my app, 2 POIs should be equal if they have same id and coordinates. I suppose 2 POIs should have the exactly same latitude and longitude.
When you run the project the POIs are defined in a tsv file located in src/main/resources/config.tsv
Code coverage metrics from Codecov and IntelliJ are not the same.
Codecov: 81% vs IntelliJ: 88%