Ver código fonte

ReadMe doc - Using the module via Nexus repository

Vicent Iborra - LabLENI UPV 4 anos atrás
pai
commit
6195901063
1 arquivos alterados com 59 adições e 0 exclusões
  1. 59 0
      README.md

+ 59 - 0
README.md

@@ -61,3 +61,62 @@ we designed an approach with following requeriments:
         bluetooth
         pybluez
 
+## Cloning this branch of the module
+
+```
+git clone --single-branch --branch Bluetooth_Smart_Environments https://scm.atosresearch.eu/ari/helios_group/heliossmartenvironments.git
+```
+
+## Integration of the module in the app
+
+        Open your app in Android Studio.
+        
+        File > New > Import Module
+
+        Go to <i>smartenvironment</i> folder. 
+        
+        Select <b>smartenvironments</b> folder like source directory. 
+        
+        Click <b>Finish</b> to import.
+
+        New module should appears in first line of <b>settings.gradle</b> file:
+
+        ```
+        include ':app', ':smartenvironments'
+        ```
+
+        Open <b>build.gradle</b> file of app module. In <b>dependencies</b> section add:
+
+        ```
+        implementation project(":smartenvironments")
+        ```
+
+## Integration of the module using Nexus Helios repository
+
+Add the repository in build.gradle file of project:
+
+```java
+allprojects {
+    repositories {
+        google()
+        jcenter()
+        maven {
+            url "https://builder.helios-social.eu/repository/helios-repository/"
+            credentials {
+                username = heliosUser
+                password = heliosPassword
+            }
+        }
+
+    }
+}
+```
+
+Add dependency to the build.gradle file of the app:
+
+```java
+dependencies {
+	implementation 'eu.h2020.helios_social.modules.smartenvironments:smartenvironments:1.0.0'
+}
+```
+