12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- apply plugin: 'java-library'
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- apply plugin: 'ru.vyarus.animalsniffer'
- apply plugin: 'idea'
- apply plugin: 'witness'
- apply from: 'witness.gradle'
- apply from: '../dagger.gradle'
- dependencies {
- implementation project(path: ':briar:briar-api', configuration: 'default')
- implementation 'com.rometools:rome:1.15.0'
- implementation 'org.jdom:jdom2:2.0.6'
- // okhttp 3.12.x is supported until end of 2020, newer versions need minSdk 21
- implementation 'com.squareup.okhttp3:okhttp:3.12.13'
- implementation 'org.jsoup:jsoup:1.13.1'
- annotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
- testImplementation project(path: ':briar:bramble-core', configuration: 'default')
- testImplementation project(path: ':briar:bramble-core', configuration: 'testOutput')
- testImplementation project(path: ':briar:bramble-api', configuration: 'testOutput')
- testImplementation 'net.jodah:concurrentunit:0.4.2'
- testImplementation "junit:junit:$junit_version"
- testImplementation "org.jmock:jmock:$jmock_version"
- testImplementation "org.jmock:jmock-junit4:$jmock_version"
- testImplementation "org.jmock:jmock-legacy:$jmock_version"
- testAnnotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
- signature 'org.codehaus.mojo.signature:java16:1.1@signature'
- }
- // needed to make test output available to briar-headless
- configurations {
- testOutput.extendsFrom(testCompile)
- }
- task jarTest(type: Jar, dependsOn: testClasses) {
- from sourceSets.test.output
- classifier = 'test'
- }
- artifacts {
- testOutput jarTest
- }
|