diff options
author | BrettyWhite <geekman3454@protonmail.com> | 2019-03-12 11:31:36 -0400 |
---|---|---|
committer | BrettyWhite <geekman3454@protonmail.com> | 2019-03-12 11:31:36 -0400 |
commit | 71a40f8cc75adc40e26edc7367a6e0589e525fca (patch) | |
tree | 0f587f23b2911f8684b9b6f3c54b1e9061d1b8c9 /README.md | |
parent | 4b70e2e1f8d595547c1fc078d61e6d42460b88ee (diff) | |
download | sdl_android-71a40f8cc75adc40e26edc7367a6e0589e525fca.tar.gz |
update instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -33,7 +33,7 @@ You can also find some branches that have yet to be merged into this GitHub proj To compile with the latest release of SDL Android, include the following in your app's `build.gradle` file, -``` +```sh repositories { jcenter() } @@ -52,7 +52,7 @@ If you prefer not to use any of the aforementioned dependency managers, you can Developers using Proguard to shrink and obfuscate their code should be sure to include the following lines in their proguard-rules.pro file: -``` +```sh -keep class com.smartdevicelink.** { *; } -keep class com.livio.** { *; } # Video streaming apps must add the following line @@ -69,7 +69,7 @@ The JavaSE project is meant to allow SDL compatibility for embedded applications To compile with the latest release of SDL JavaSE, include the following in your app's `build.gradle` file, -``` +```sh repositories { jcenter() } @@ -86,11 +86,20 @@ The JavaEE project is meant to allow SDL compatibility for web applications. To compile with the latest release of SDL JavaEE, include the following in your app's `build.gradle` file, -``` +```sh repositories { jcenter() } dependencies { implementation 'com.smartdevicelink:sdl_java_ee:4.+' } -```
\ No newline at end of file +``` + +#### Manually building a JAR + +If you prefer making a JAR, simply call: + +```sh +gradle build +``` +from within the project (JavaSE or JavaEE) and a JAR should be generated in the `build/libs` folder
\ No newline at end of file |