mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
42 lines
1.4 KiB
Groovy
42 lines
1.4 KiB
Groovy
apply plugin: 'java'
|
|
sourceCompatibility = 1.6
|
|
targetCompatibility = 1.6
|
|
|
|
apply plugin: 'witness'
|
|
|
|
dependencies {
|
|
compile "com.google.dagger:dagger:2.8"
|
|
compile 'com.google.dagger:dagger-compiler:2.8'
|
|
compile 'com.google.code.findbugs:jsr305:3.0.1'
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile "org.jmock:jmock:2.8.1"
|
|
testCompile "org.jmock:jmock-junit4:2.8.1"
|
|
testCompile "org.jmock:jmock-legacy:2.8.1"
|
|
testCompile "org.hamcrest:hamcrest-library:1.3"
|
|
testCompile "org.hamcrest:hamcrest-core:1.3"
|
|
}
|
|
|
|
dependencyVerification {
|
|
verify = [
|
|
'com.google.dagger:dagger:5070e1dff5c551a4908ba7b93125c0243de2a688aed3d2f475357d86d9d7c0ad',
|
|
'com.google.dagger:dagger-compiler:7b2686f94907868c5364e9965601ffe2f020ba4af1849ad9b57dad5fe3fa6242',
|
|
'com.google.code.findbugs:jsr305:c885ce34249682bc0236b4a7d56efcc12048e6135a5baf7a9cde8ad8cda13fcd',
|
|
'javax.inject:javax.inject:91c77044a50c481636c32d916fd89c9118a72195390452c81065080f957de7ff',
|
|
'com.google.dagger:dagger-producers:1e4043e85f67de381d19e22c7932aaf7ff1611091be7e1aaae93f2c37f331cf2',
|
|
'com.google.guava:guava:ff89d4a4a6b303c4084194975a5a35f55a8af6f7337678b4cc8ddbea9005c323',
|
|
]
|
|
}
|
|
|
|
// 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
|
|
}
|