In order to build your app on a SmartDeviceLink (SDL) Core, the SDL software development kit (SDK) must be installed in your app. The following steps will guide you through adding the SDL SDK to your workspace and configuring the environment.
The SDL SDK is currently supported on Java 7 (1.7) and above.
Each SDL JavaSE library release is published to MavenCentral. By adding a few lines in their app's gradle script, developers can compile with the latest SDL JavaSE release.
To gain access to the MavenCentral repository, make sure your app's build.gradle
file includes the following:
repositories { google() mavenCentral() }
To compile with a release of SDL JavaSE, include the following line in your app's build.gradle
file,
dependencies { implementation 'com.smartdevicelink:sdl_java_se:{version}' }
and replace {version}
with the desired release version in format of x.x.x
. The list of releases can be found here.
To compile release 5.7.0, use the following line:
dependencies { implementation 'com.smartdevicelink:sdl_java_se:5.7.0' }
To compile the latest minor release of major version 5, use:
dependencies { implementation 'com.smartdevicelink:sdl_java_se:5.+' }
To Find more information on installation, read our README.
View on GitHub.com