Skip to content

Commit

Permalink
Migrate to androidx.annotation from legacy android.support.annotion (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
elizarov authored and qwwdfsad committed Apr 24, 2020
1 parent 4589d4c commit 45487d1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jna_version=5.5.0

# Android versions
android_version=4.1.1.4
android_support_version=26.1.0
androidx_annotation_version=1.1.0
robolectric_version=4.0.2
baksmali_version=2.2.7

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

dependencies {
testImplementation "com.google.android:android:$android_version"
testImplementation "com.android.support:support-annotations:$android_support_version"
testImplementation "org.robolectric:robolectric:$robolectric_version"
testImplementation project(":kotlinx-coroutines-test")
testImplementation project(":kotlinx-coroutines-android")
Expand Down
2 changes: 1 addition & 1 deletion ui/kotlinx-coroutines-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ configurations {

dependencies {
compileOnly "com.google.android:android:$android_version"
compileOnly "com.android.support:support-annotations:$android_support_version"
compileOnly "androidx.annotation:annotation:$androidx_annotation_version"

testImplementation "com.google.android:android:$android_version"
testImplementation "org.robolectric:robolectric:$robolectric_version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package kotlinx.coroutines.android

import android.os.*
import android.support.annotation.*
import androidx.annotation.*
import kotlinx.coroutines.*
import java.lang.reflect.*
import kotlin.coroutines.*
Expand Down
2 changes: 1 addition & 1 deletion ui/kotlinx-coroutines-android/src/HandlerDispatcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package kotlinx.coroutines.android

import android.os.*
import android.support.annotation.*
import androidx.annotation.*
import android.view.*
import kotlinx.coroutines.*
import kotlinx.coroutines.internal.*
Expand Down

0 comments on commit 45487d1

Please sign in to comment.