2020-07-02 18:20:52 -07:00
|
|
|
plugins {
|
2022-07-28 12:41:49 -07:00
|
|
|
id 'java-library'
|
2022-07-28 13:24:20 -07:00
|
|
|
id 'java-test-fixtures'
|
2020-07-02 18:20:52 -07:00
|
|
|
}
|
|
|
|
|
2020-07-12 20:45:40 -07:00
|
|
|
apply from: '../../android/dependencies.gradle'
|
2022-10-15 14:46:48 -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 {
|
2020-07-17 17:58:18 -07:00
|
|
|
implementation libs.javaxJson
|
2022-10-15 07:44:20 -07:00
|
|
|
api project(':models')
|
2022-10-15 11:36:41 -07:00
|
|
|
api project(':core_io')
|
2022-10-15 07:44:20 -07:00
|
|
|
api project(':logging')
|
2020-07-02 19:22:50 -07:00
|
|
|
|
2022-06-29 13:32:31 -07:00
|
|
|
implementation group: 'com.fazecast', name: 'jSerialComm', version: '2.9.2'
|
2022-05-03 13:41:24 -07:00
|
|
|
implementation group: 'tel.schich', name: 'javacan-core', version: '3.2.0'
|
2020-07-02 19:22:50 -07:00
|
|
|
implementation group: 'net.jcip', name: 'jcip-annotations', version: '1.0'
|
2022-10-15 14:46:48 -07:00
|
|
|
implementation global_libs.json
|
2022-07-28 12:41:49 -07:00
|
|
|
implementation ts_plugin_libs.httpclient
|
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'
|
2022-10-15 15:56:28 -07:00
|
|
|
testFixturesImplementation global_libs.mockito
|
2022-10-15 14:46:48 -07:00
|
|
|
testFixturesApi global_libs.annotations
|
|
|
|
testFixturesApi global_libs.junit
|
2020-07-02 18:20:52 -07:00
|
|
|
}
|