Commit 5abced08 authored by Lucas Legrand's avatar Lucas Legrand

Replaced old config files with new ones allowing git push from gradle/Android Studio

parent 5ea696ab
......@@ -132,3 +132,5 @@ https://docs.gradle.org/current/userguide/maven_plugin.html
https://jeroenmols.com/blog/2016/02/05/wagongit/
http://kodbiro.com/use-github-pages-as-your-own-maven-repository/
https://github.com/synergian/wagon-git
......@@ -35,6 +35,7 @@ allprojects {
maven{
url "https://gitlab.linphone.org/BC/public/maven_repository/raw/master"
}
}
}
......@@ -52,8 +53,8 @@ dependencies {
}
implementation 'com.android.support:support-v4:27.0.1'
// implementation project(':liblinphone-sdk')
// releaseImplementation 'org.linphone.maven:liblinphone-sdk:4.0.0'
debugImplementation 'org.linphone.maven:liblinphone-sdk:4.0.0-DEBUG'
// releaseImplementation 'org.linphone.maven:liblinphone-sdk:4.0.1'
debugImplementation 'org.linphone.maven:liblinphone-sdk:4.0.1-DEBUG'
}
if (firebaseEnable()) {
......
......@@ -18,12 +18,14 @@ allprojects {
mavenCentral()
mavenLocal()
google()
maven { url "https://raw.github.com/synergian/wagon-git/releases"}
}
}
configurations {
javadocDeps
deployerJars
}
......@@ -35,6 +37,7 @@ apply plugin: 'maven'
dependencies {
implementation 'org.apache.commons:commons-compress:1.16.1'
javadocDeps 'org.apache.commons:commons-compress:1.16.1'
deployerJars "ar.com.synergian:wagon-git:0.2.5"
}
def srcDir = ['../submodules/mediastreamer2/java/src']
......@@ -132,12 +135,14 @@ android {
uploadArchives {
repositories {
mavenDeployer {
def home = "$System.env.HOME"
repository(url: 'file://localhost'+home+'/Workplace/maven_repository/')
configuration = configurations.deployerJars
repository(url: 'git:master://git@gitlab.linphone.org:BC/public/maven_repository.git'){
authentication(privateKey: privateKey)
}
pom.project {
groupId 'org.linphone.maven'
artifactId 'liblinphone-sdk'
version project.hasProperty("debug") ? "4.0.0-DEBUG": "4.0.0"
version project.hasProperty("debug") ? "4.0.1-DEBUG": "4.0.1"
}
}
......
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