davidliu

update libraries

... ... @@ -52,13 +52,14 @@ ext {
minVersion : 21,
]
versions = [
androidx_core : "1.6.0",
androidx_core : "1.7.0",
androidx_lifecycle: "2.4.0",
autoService : '1.0.1',
dagger : "2.27",
groupie : "2.9.0",
junit : "4.13.2",
junitJupiter : "5.5.0",
coroutines : "1.6.0",
lint : "30.0.1",
protobuf : "3.15.1",
]
... ... @@ -70,7 +71,10 @@ ext {
'service' : "com.google.auto.service:auto-service:${versions.autoService}",
'serviceAnnotations': "com.google.auto.service:auto-service-annotations:${versions.autoService}",
],
kotlinx_coroutines: "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0",
coroutines : [
"lib" : "org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.coroutines}",
"test": "org.jetbrains.kotlinx:kotlinx-coroutines-test: ${versions.coroutines}",
],
timber : "com.github.ajalt:timberkt:1.5.1",
// lint
lint : "com.android.tools.lint:lint:${versions.lint}",
... ...
... ... @@ -102,11 +102,11 @@ dokkaHtml {
dependencies {
protobuf files(generated.protoSrc)
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation deps.kotlinx_coroutines
implementation deps.coroutines.lib
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.1.0'
api 'com.github.webrtc-sdk:android:92.4515.02'
api "com.squareup.okhttp3:okhttp:4.9.0"
implementation "androidx.annotation:annotation:1.2.0"
api 'com.github.webrtc-sdk:android:93.4577.01'
api "com.squareup.okhttp3:okhttp:4.9.1"
implementation "androidx.annotation:annotation:1.3.0"
implementation "androidx.core:core:${versions.androidx_core}"
implementation "com.google.protobuf:protobuf-java:${versions.protobuf}"
implementation "com.google.protobuf:protobuf-java-util:${versions.protobuf}"
... ... @@ -126,7 +126,7 @@ dependencies {
testImplementation 'org.mockito:mockito-core:4.0.0'
testImplementation "org.mockito.kotlin:mockito-kotlin:4.0.0"
testImplementation 'androidx.test:core:1.4.0'
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.5.0"
testImplementation deps.coroutines.test
kaptTest 'com.google.dagger:dagger-compiler:2.38'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
... ...
... ... @@ -35,7 +35,7 @@ dependencies {
api "androidx.core:core-ktx:${versions.androidx_core}"
api 'androidx.appcompat:appcompat:1.4.0'
api 'com.google.android.material:material:1.4.0'
api deps.kotlinx_coroutines
api deps.coroutines.lib
api deps.timber
api "androidx.lifecycle:lifecycle-runtime-ktx:${versions.androidx_lifecycle}"
api "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.androidx_lifecycle}"
... ...
... ... @@ -50,7 +50,7 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation deps.kotlinx_coroutines
implementation deps.coroutines.lib
implementation "androidx.core:core-ktx:${versions.androidx_core}"
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
... ...
... ... @@ -35,7 +35,7 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation deps.kotlinx_coroutines
implementation deps.coroutines.lib
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation "androidx.core:core-ktx:${versions.androidx_core}"
... ...