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 | |
parent | 4b70e2e1f8d595547c1fc078d61e6d42460b88ee (diff) | |
download | sdl_android-71a40f8cc75adc40e26edc7367a6e0589e525fca.tar.gz |
update instructions
-rw-r--r-- | README.md | 19 | ||||
-rw-r--r-- | javaEE/README.md | 11 | ||||
-rw-r--r-- | javaSE/README.md | 11 |
3 files changed, 30 insertions, 11 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 diff --git a/javaEE/README.md b/javaEE/README.md index 65643b1be..8e7c3699d 100644 --- a/javaEE/README.md +++ b/javaEE/README.md @@ -6,7 +6,7 @@ The JavaEE project is meant to allow SDL compatibility for web applications. To compile with the latest release of SDL JavaSE, include the following in your app's `build.gradle` file, -``` +```sh repositories { jcenter() } @@ -15,6 +15,11 @@ dependencies { } ``` -#### Manually +#### Manually building a JAR + +If you prefer making a JAR, simply call: -Import the JAR file into your project.
\ No newline at end of file +```sh +gradle build +``` +from within the project and a JAR should be generated in the `build/libs` folder
\ No newline at end of file diff --git a/javaSE/README.md b/javaSE/README.md index 4ed9d3c40..e40e9ca4a 100644 --- a/javaSE/README.md +++ b/javaSE/README.md @@ -6,7 +6,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() } @@ -15,6 +15,11 @@ dependencies { } ``` -#### Manually +#### Manually building a JAR + +If you prefer making a JAR, simply call: -Import the JAR file into your project.
\ No newline at end of file +```sh +gradle build +``` +from within the project and a JAR should be generated in the `build/libs` folder
\ No newline at end of file |