Updated way of using maven AARs
This commit is contained in:
parent
f46fc361bc
commit
d14e124cc5
1 changed files with 3 additions and 4 deletions
|
@ -34,7 +34,8 @@ excludePackage.add('**/LICENSE.txt')
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url "https://gitlab.linphone.org/BC/public/maven_repository/raw/master"
|
// Switch to release or master branch for release !
|
||||||
|
url "https://gitlab.linphone.org/BC/public/maven_repository/raw/snapshots"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,9 +115,7 @@ dependencies {
|
||||||
if (isLocalAarAvailable()) {
|
if (isLocalAarAvailable()) {
|
||||||
implementation project(":linphone-sdk-android")
|
implementation project(":linphone-sdk-android")
|
||||||
} else {
|
} else {
|
||||||
// TODO: Use hardcoded correct SDK version number
|
implementation "org.linphone:linphone-sdk-android:4.1"
|
||||||
releaseImplementation "org.linphone:liblinphone-sdk:${android.defaultConfig.versionName}"
|
|
||||||
debugImplementation "org.linphone:liblinphone-sdk:${android.defaultConfig.versionName}-DEBUG"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (firebaseEnabled()) {
|
if (firebaseEnabled()) {
|
||||||
|
|
Loading…
Reference in a new issue