Source code for Modern Java Recipes book from O'Reilly
Source code for Modern Java Recipes book from O'Reilly
Source code for Modern Java Recipes (O'Reilly, 2017)
http://shop.oreilly.com/product/0636920056669.do
This project has been modernized and updated with the latest tooling:
# Clone the repository
git clone
cd java_8_recipes
# Run tests
./gradlew test
# Build the project
./gradlew buildFile -> Open or if no project is open, Importbuild.gradle file inside the project./gradlew cleanEclipse eclipse (Unix/Mac) or gradlew cleanEclipse eclipse (Windows)File -> Import… -> General -> Existing Projects into WorkspaceAll tests have been migrated to JUnit 5 and use modern testing patterns:
# Run all tests
./gradlew test
# Run tests with detailed output
./gradlew test --info
# Run specific test class
./gradlew test --tests "concurrency.CompletableFutureTests"The project contains examples and tests for Java 8+ features including:
No open issues yet, or sync has not completed.