davidliu
Committed by GitHub

add replace note in build.gradle (#127)

... ... @@ -33,6 +33,10 @@ android {
dependencies {
// If building the sample app outside the context of this repo, replace the following with:
// implementation "io.livekit:livekit-android:<version>"
implementation project(":livekit-android-sdk")
implementation "androidx.core:core-ktx:${versions.androidx_core}"
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation "androidx.activity:activity-ktx:1.5.1"
... ... @@ -43,7 +47,7 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-common-java8:${versions.androidx_lifecycle}"
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation project(":livekit-android-sdk")
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
... ...
... ... @@ -50,6 +50,10 @@ android {
dependencies {
// If building the sample app outside the context of this repo, replace the following with:
// api "io.livekit:livekit-android:<version>"
api project(":livekit-android-sdk")
api "androidx.core:core-ktx:${versions.androidx_core}"
api 'androidx.appcompat:appcompat:1.4.0'
api 'com.google.android.material:material:1.4.0'
... ... @@ -59,7 +63,6 @@ dependencies {
api "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.androidx_lifecycle}"
api "androidx.lifecycle:lifecycle-common-java8:${versions.androidx_lifecycle}"
api "com.google.protobuf:protobuf-javalite:${versions.protobuf}"
api project(":livekit-android-sdk")
api 'androidx.preference:preference-ktx:1.1.1'
// debugImplementation because LeakCanary should only run in debug builds.
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
... ...
... ... @@ -48,6 +48,11 @@ android {
}
dependencies {
// Sample-app-common contains the livekit-android-sdk dependency and others
// as well as classes common to both sample apps.
implementation project(":sample-app-common")
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation deps.coroutines.lib
... ... @@ -66,8 +71,6 @@ dependencies {
implementation 'com.google.accompanist:accompanist-pager:0.19.0'
implementation 'com.google.accompanist:accompanist-pager-indicators:0.19.0'
implementation deps.timber
implementation project(":sample-app-common")
implementation project(":livekit-android-sdk")
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
... ...
... ... @@ -34,6 +34,10 @@ android {
}
dependencies {
// Sample-app-common contains the livekit-android-sdk dependency and others
// as well as classes common to both sample apps.
implementation project(":sample-app-common")
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation deps.coroutines.lib
... ... @@ -50,7 +54,6 @@ dependencies {
implementation "com.github.lisawray.groupie:groupie:${versions.groupie}"
implementation "com.github.lisawray.groupie:groupie-viewbinding:${versions.groupie}"
implementation deps.timber
implementation project(":sample-app-common")
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
... ...