ttnhabbridge/dependencies.gradle

41 wiersze
1.3 KiB
Groovy

/*
* 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 = [:]
jacksonVersion = '2.13.2'
retrofitVersion = '2.9.0'
slf4jVersion = '1.7.36'
}
libraries.slf4j = "org.slf4j:slf4j-api:${slf4jVersion}"
libraries.slf4jlog4j = "org.slf4j:slf4j-log4j12:${slf4jVersion}"
libraries.jaxb_api = 'javax.xml.bind:jaxb-api:2.3.1'
libraries.jackson = [
"com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}",
"com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}"
]
libraries.retrofit = [
"com.squareup.retrofit2:retrofit:${retrofitVersion}",
"com.squareup.retrofit2:converter-jackson:${retrofitVersion}",
"com.squareup.retrofit2:converter-scalars:${retrofitVersion}"
]
libraries.retrofit_mock = "com.squareup.retrofit2:retrofit-mock:${retrofitVersion}"
libraries.mqtt_client = 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
// test libraries
libraries.junit = 'junit:junit:4.13.2'
libraries.mockito = 'org.mockito:mockito-core:4.4.0'
// check libraries
libraries.spotbugs_annotations = 'com.github.spotbugs:spotbugs-annotations:4.6.0'