Commit 21cf7f31 authored by Lucas Legrand's avatar Lucas Legrand

Production part of the README done, swapped git folder creation step and Maven...

Production part of the README done, swapped git folder creation step and Maven file production step. TODO: Exploitation part.
parent 12e95ff7
......@@ -23,6 +23,11 @@ git submodule sync && git submodule update --init --recursive
Prepare the local Maven repository:
git clone https://gitlab.linphone.org/BC/public/maven_repository.git
Set the liblinphone-sdk/build.gradle file as in the Maven repository.
......@@ -52,10 +57,14 @@ Options explanation:
-repository: the place where all Maven files and .aar are going to be built.
It is currently on local hard drive, then sent on our repository with Git.
Set it to the place you cloned the Git repositoryy.
-pom.project: theses options will define the way we call the dependency in our EXPLOITATION project,
as following: 'groupId:artifactId:version'
For other libraries or versions, just edit artifactId or version.
Keep the -RELEASE part.
Check if linphone-android builds.
Then, in a terminal located at linphone-android's root, type:
......@@ -63,20 +72,19 @@ Then, in a terminal located at linphone-android's root, type:
gradle clean uploadArchives
Warning: If a not working version is produced, before building it again, clear the whole gradle cache ($HOME/.gradle/caches/), or gradle will produce the same.
Sending files to our remote repository
Sending files to our repository
In our local repository, start a git project and link it to our Git repository:
Go to your local maven_repository and type:
git push
Warning: If a not working version is produced, before building it again, clear the whole gradle cache ($HOME/.gradle/caches/), or gradle will produce the same.
EXPLOITATION
......
6c6435f5eea84080087c88d2e2c7a098
\ No newline at end of file
b3871d670c57e1d5ef4c5a4ae506b4d48255c281
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.linphone.maven</groupId>
<artifactId>liblinphone-sdk</artifactId>
<version>4.0.0</version>
<packaging>aar</packaging>
<dependencies>
<dependency>
<groupId>com.android.support</groupId>
<artifactId>multidex</artifactId>
<version>1.0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.16.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
d408b0e46a3e766ad62194684d699e1d
\ No newline at end of file
89f01e5ff2cc0385dd0335e9956640bb353b8461
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>org.linphone.maven</groupId>
<artifactId>liblinphone-sdk</artifactId>
<versioning>
<release>4.0.0</release>
<versions>
<version>4.0.0</version>
</versions>
<lastUpdated>20180705082950</lastUpdated>
</versioning>
</metadata>
1aec12b232d8e616c4f1e7b582b18ee8
\ No newline at end of file
373f026497ad0191df2c9eaf288d8e7b908b2a2f
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment