This repository contains common SymbIoTe libraries used throughout different components and different layers. Its main use is to standardize classes which will be used for communication among components. Furthermore, it also contains security packages to facilitate secure access to resources (e.g. SecurityHandler).
Jitpack can be used to easily import Semantic Mapping in your code. In Jitpack's website you can find guidelines about how to include repositories for different build automation systems. In the symbIoTe project which utilizes gradle, developers have to add the following in the build.gradle:
- Add jitpack in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency:
compile('com.github.symbiote-h2020:SemanticMapping:develop-SNAPSHOT')
As you notice above, during development (i.e. feature and develop branches of component repositories) the develop branch of the SemanticMapping needs to be used, in order to make sure that the latest version is always retrieved. In the official releases (i.e. master branches of Component repositories), this dependecy will be changed to:
compile('com.github.symbiote-h2020:SemanticMapping:{tag}')
by the SymbIoTe integrators.