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

5 6
apply plugin: 'net.ltgt.apt'
apply plugin: 'idea'
akwizgran's avatar
akwizgran committed
7
apply plugin: 'witness'
8
apply from: 'witness.gradle'
akwizgran's avatar
akwizgran committed
9 10

dependencies {
11 12 13 14
	implementation project(path: ':bramble-core', configuration: 'default')
	implementation fileTree(dir: 'libs', include: '*.jar')
	implementation 'net.java.dev.jna:jna:4.4.0'
	implementation 'net.java.dev.jna:jna-platform:4.4.0'
15

16 17
	apt 'com.google.dagger:dagger-compiler:2.0.2'

18 19 20 21 22 23 24 25
	testImplementation project(path: ':bramble-api', configuration: 'testOutput')
	testImplementation project(path: ':bramble-core', configuration: 'testOutput')
	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"
	testImplementation "org.hamcrest:hamcrest-library:1.3"
	testImplementation "org.hamcrest:hamcrest-core:1.3"
26 27 28 29
}

tasks.withType(Test) {
	systemProperty 'java.library.path', 'libs'
akwizgran's avatar
akwizgran committed
30
}