mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
32 lines
812 B
Groovy
32 lines
812 B
Groovy
apply plugin: 'java-library'
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
apply plugin: 'ru.vyarus.animalsniffer'
|
|
apply plugin: 'witness'
|
|
apply from: 'witness.gradle'
|
|
|
|
dependencies {
|
|
implementation "com.google.dagger:dagger:2.22.1"
|
|
implementation 'com.google.code.findbugs:jsr305:3.0.2'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
testImplementation "org.jmock:jmock:2.8.2"
|
|
testImplementation "org.jmock:jmock-junit4:2.8.2"
|
|
testImplementation "org.jmock:jmock-legacy:2.8.2"
|
|
|
|
signature 'org.codehaus.mojo.signature:java16:1.1@signature'
|
|
}
|
|
|
|
// needed to make test output available to bramble-core and briar-core
|
|
configurations {
|
|
testOutput.extendsFrom(testCompile)
|
|
}
|
|
task jarTest(type: Jar, dependsOn: testClasses) {
|
|
from sourceSets.test.output
|
|
classifier = 'test'
|
|
}
|
|
artifacts {
|
|
testOutput jarTest
|
|
}
|