lots of exercises in java... from https://github.com/exercism/java

build.gradle 306B

1234567891011121314151617181920
  1. apply plugin: "java"
  2. apply plugin: "eclipse"
  3. apply plugin: "idea"
  4. repositories {
  5. mavenCentral()
  6. }
  7. dependencies {
  8. testCompile "junit:junit:4.12"
  9. testCompile 'org.hamcrest:hamcrest-library:1.3'
  10. }
  11. test {
  12. testLogging {
  13. exceptionFormat = 'full'
  14. events = ["passed", "failed", "skipped"]
  15. }
  16. }