2017-08-13 13:38:01 +00:00
|
|
|
/*
|
|
|
|
* Contains all external references and version used in the project.
|
|
|
|
* It is not advised to use direct references in each sub-project buildscript for maintenance purposes.
|
|
|
|
* Keeping the versions here allows us to control them for the entire solution
|
|
|
|
*/
|
|
|
|
|
|
|
|
ext {
|
|
|
|
libraries = [:]
|
2022-01-29 21:20:34 +00:00
|
|
|
|
2022-04-09 22:05:47 +00:00
|
|
|
jacksonVersion = '2.13.2'
|
2022-01-29 21:20:34 +00:00
|
|
|
retrofitVersion = '2.9.0'
|
2022-04-09 22:05:47 +00:00
|
|
|
slf4jVersion = '1.7.36'
|
2017-08-13 13:38:01 +00:00
|
|
|
}
|
|
|
|
|
2022-01-29 21:20:34 +00:00
|
|
|
libraries.slf4j = "org.slf4j:slf4j-api:${slf4jVersion}"
|
|
|
|
libraries.slf4jlog4j = "org.slf4j:slf4j-log4j12:${slf4jVersion}"
|
2017-08-13 13:38:01 +00:00
|
|
|
|
2021-10-04 21:27:19 +00:00
|
|
|
libraries.jaxb_api = 'javax.xml.bind:jaxb-api:2.3.1'
|
2019-05-03 12:33:39 +00:00
|
|
|
|
2017-08-15 06:15:24 +00:00
|
|
|
libraries.jackson = [
|
2022-01-29 21:20:34 +00:00
|
|
|
"com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}",
|
|
|
|
"com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}"
|
2017-08-15 06:15:24 +00:00
|
|
|
]
|
|
|
|
|
2018-05-01 21:02:29 +00:00
|
|
|
libraries.retrofit = [
|
2022-01-29 21:20:34 +00:00
|
|
|
"com.squareup.retrofit2:retrofit:${retrofitVersion}",
|
|
|
|
"com.squareup.retrofit2:converter-jackson:${retrofitVersion}",
|
|
|
|
"com.squareup.retrofit2:converter-scalars:${retrofitVersion}"
|
2017-08-15 06:15:24 +00:00
|
|
|
]
|
2022-01-29 21:20:34 +00:00
|
|
|
libraries.retrofit_mock = "com.squareup.retrofit2:retrofit-mock:${retrofitVersion}"
|
2017-08-15 06:15:24 +00:00
|
|
|
|
2020-07-17 15:10:19 +00:00
|
|
|
libraries.mqtt_client = 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
|
2017-08-21 04:38:35 +00:00
|
|
|
|
2017-08-15 06:15:24 +00:00
|
|
|
// test libraries
|
2021-03-06 08:10:36 +00:00
|
|
|
libraries.junit = 'junit:junit:4.13.2'
|
2022-04-09 22:05:47 +00:00
|
|
|
libraries.mockito = 'org.mockito:mockito-core:4.4.0'
|
2017-08-13 13:38:01 +00:00
|
|
|
|
2020-02-05 22:50:52 +00:00
|
|
|
// check libraries
|
2022-04-09 22:05:47 +00:00
|
|
|
libraries.spotbugs_annotations = 'com.github.spotbugs:spotbugs-annotations:4.6.0'
|
2020-02-05 22:50:52 +00:00
|
|
|
|