build.gradle 812 B

1234567891011121314151617181920212223242526272829303132
  1. apply plugin: 'java-library'
  2. sourceCompatibility = 1.8
  3. targetCompatibility = 1.8
  4. apply plugin: 'ru.vyarus.animalsniffer'
  5. apply plugin: 'witness'
  6. apply from: 'witness.gradle'
  7. dependencies {
  8. implementation "com.google.dagger:dagger:2.22.1"
  9. implementation 'com.google.code.findbugs:jsr305:3.0.2'
  10. testImplementation 'junit:junit:4.12'
  11. testImplementation "org.jmock:jmock:2.8.2"
  12. testImplementation "org.jmock:jmock-junit4:2.8.2"
  13. testImplementation "org.jmock:jmock-legacy:2.8.2"
  14. signature 'org.codehaus.mojo.signature:java16:1.1@signature'
  15. }
  16. // needed to make test output available to bramble-core and briar-core
  17. configurations {
  18. testOutput.extendsFrom(testCompile)
  19. }
  20. task jarTest(type: Jar, dependsOn: testClasses) {
  21. from sourceSets.test.output
  22. classifier = 'test'
  23. }
  24. artifacts {
  25. testOutput jarTest
  26. }