fome-fw/java_console/io/build.gradle

40 lines
1.0 KiB
Groovy
Raw Normal View History

2020-07-02 18:20:52 -07:00
plugins {
id 'java-library'
id 'java-test-fixtures'
2020-07-02 18:20:52 -07:00
}
apply from: '../../java_tools/dependencies.gradle'
2020-07-12 20:45:40 -07:00
2020-07-12 15:53:53 -07:00
configurations {
2020-07-12 16:50:34 -07:00
all*.exclude group: 'org.hamcrest', module: 'hamcrest-core'
2020-07-12 15:53:53 -07:00
}
2022-03-12 21:25:10 -08:00
tasks.withType(Test) {
systemProperty "java.library.path", "../../unit_tests/build"
}
2020-07-02 18:20:52 -07:00
dependencies {
2022-10-15 07:44:20 -07:00
api project(':models')
api project(':core_io')
2020-07-02 19:22:50 -07:00
2023-12-22 22:05:28 -08:00
implementation group: 'com.fazecast', name: 'jSerialComm', version: '2.10.3'
2023-11-25 02:04:50 -08:00
implementation global_libs.jcip
implementation project(':logging')
2020-07-02 19:22:50 -07:00
2020-07-12 21:05:00 -07:00
// junit 4.13 does not mix well with httpclient :(
testImplementation group: 'junit', name: 'junit', version: '4.8.2'
testFixturesImplementation global_libs.mockito
testFixturesApi global_libs.annotations
testFixturesApi global_libs.junit
}
compileJava {
doLast {
// gradle java plugin always generates JNI headers
copy {
from 'build/generated/sources/headers/java/main'
into "../../unit_tests/native"
include 'com*.h'
}
}
2020-07-02 18:20:52 -07:00
}