Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try out Credentials 1.5.0-rc01 and add proguard rules #114

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions CredentialManager/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android {
namespace 'com.google.credentialmanager.sample'
compileSdk 34
compileSdkPreview "VanillaIceCream"
compileSdk 35
defaultConfig {
applicationId "com.google.credentialmanager.sample"
minSdk 21
targetSdkPreview "VanillaIceCream"
targetSdk 35
versionCode 1
versionName "1.0"

Expand Down Expand Up @@ -101,8 +100,8 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

implementation 'androidx.credentials:credentials-play-services-auth:1.5.0-alpha02'
implementation 'androidx.credentials:credentials:1.5.0-alpha02'
implementation 'androidx.credentials:credentials-play-services-auth:1.5.0-rc01'
implementation 'androidx.credentials:credentials:1.5.0-rc01'

implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3"
Expand Down
7 changes: 6 additions & 1 deletion CredentialManager/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile

-if class androidx.credentials.CredentialManager
-keep class androidx.credentials.playservices.** {
*;
}
Binary file modified CredentialManager/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 4 additions & 3 deletions CredentialManager/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Wed Dec 28 18:22:13 IST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading