build.gradle 810 Bytes
Newer Older
1
apply plugin: 'java-library'
2 3
sourceCompatibility = 1.8
targetCompatibility = 1.8
akwizgran's avatar
akwizgran committed
4

5
apply plugin: 'ru.vyarus.animalsniffer'
akwizgran's avatar
akwizgran committed
6
apply plugin: 'witness'
7
apply from: 'witness.gradle'
akwizgran's avatar
akwizgran committed
8 9

dependencies {
10
	implementation "com.google.dagger:dagger:2.19"
11
	implementation 'com.google.code.findbugs:jsr305:3.0.2'
12

13 14 15 16
	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"
17 18

	signature 'org.codehaus.mojo.signature:java16:1.1@signature'
akwizgran's avatar
akwizgran committed
19 20
}

21 22 23 24
// needed to make test output available to bramble-core and briar-core
configurations {
	testOutput.extendsFrom(testCompile)
}
25
task jarTest(type: Jar, dependsOn: testClasses) {
26 27 28 29 30 31
	from sourceSets.test.output
	classifier = 'test'
}
artifacts {
	testOutput jarTest
}