mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
34 lines
964 B
Groovy
34 lines
964 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 {
|
|
api 'org.briarproject:null-safety:0.1'
|
|
api 'com.google.code.findbugs:jsr305:3.0.2'
|
|
api 'javax.inject:javax.inject:1'
|
|
api "com.google.dagger:dagger:$dagger_version"
|
|
|
|
implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
|
|
|
|
testImplementation "junit:junit:$junit_version"
|
|
testImplementation "org.jmock:jmock:$jmock_version"
|
|
testImplementation "org.jmock:jmock-junit4:$jmock_version"
|
|
|
|
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, sourceSets.main.output
|
|
archiveClassifier = 'test'
|
|
}
|
|
artifacts {
|
|
testOutput jarTest
|
|
} |