Permalink
Browse files

Upgrade to Workmanager 1.0.0-alpha10

Remove no longer needed proguard and packaging exclude rules
  • Loading branch information...
ianhanniballake committed Oct 11, 2018
1 parent 84f99f8 commit a553ee800fbc6d8c188f40616ba06238a89d82fc
@@ -69,9 +69,4 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Workaround for WorkManager alpha09: https://developer.android.com/jetpack/docs/release-notes#september_19_2018
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
@@ -28,7 +28,7 @@ buildscript {
roomVersion = "1.1.1"
pagingVersion = "1.0.1"
navigationVersion = "1.0.0-alpha06"
workManagerVersion = "1.0.0-alpha09"
workManagerVersion = "1.0.0-alpha10"
playServicesWearableVersion = "15.0.1"
firebaseCoreVersion = "16.0.3"
firebasePerfVersion = "16.1.0"
@@ -39,9 +39,4 @@ android {
manifestPlaceholders = [unsplashAuthority: unsplashAuthorityValue]
buildConfigField "String", "UNSPLASH_AUTHORITY", "\"${unsplashAuthorityValue}\""
}
// Workaround for WorkManager alpha09: https://developer.android.com/jetpack/docs/release-notes#september_19_2018
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
@@ -92,11 +92,6 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Workaround for WorkManager alpha09: https://developer.android.com/jetpack/docs/release-notes#september_19_2018
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
kotlin.experimental.coroutines "enable"
@@ -31,9 +31,3 @@
-dontwarn org.conscrypt.**
# A resource is loaded with a relative path so the package of this class must be preserved.
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
# WorkManager
-keepclassmembers class * extends androidx.work.Worker {
public <init>(android.content.Context,androidx.work.WorkerParameters);
}
@@ -57,9 +57,4 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Workaround for WorkManager alpha09: https://developer.android.com/jetpack/docs/release-notes#september_19_2018
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
@@ -73,9 +73,4 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Workaround for WorkManager alpha09: https://developer.android.com/jetpack/docs/release-notes#september_19_2018
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
@@ -53,9 +53,4 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Workaround for WorkManager alpha09: https://developer.android.com/jetpack/docs/release-notes#september_19_2018
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
@@ -80,11 +80,6 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Workaround for WorkManager alpha09: https://developer.android.com/jetpack/docs/release-notes#september_19_2018
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
kotlin.experimental.coroutines "enable"
@@ -31,9 +31,3 @@
-dontwarn org.conscrypt.**
# A resource is loaded with a relative path so the package of this class must be preserved.
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
# WorkManager
-keepclassmembers class * extends androidx.work.Worker {
public <init>(android.content.Context,androidx.work.WorkerParameters);
}

0 comments on commit a553ee8

Please sign in to comment.