Skip to content

Commit e79323f

Browse files
committed
update gradle. Fix breaking changes from Google.
1 parent c822b0d commit e79323f

File tree

8 files changed

+61
-5
lines changed

8 files changed

+61
-5
lines changed

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deploymentTargetDropDown.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88

99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:4.0.2'
11+
classpath 'com.android.tools.build:gradle:7.0.4'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files

firebase-auth-rest/core/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,20 @@ android {
3232
def GIT_SHA = "GIT_SHA"
3333
def GIT_COMMIT_HASH = "GIT_COMMIT_HASH"
3434
def GIT_BRANCH = "GIT_BRANCH"
35+
def VERSION_NAME = "VERSION_NAME"
3536

3637
compileSdkVersion rootProject.ext.compileSdkVersion
3738

3839
defaultConfig {
3940
buildConfigField 'String', GIT_SHA, wrapString(gitSha())
4041
buildConfigField 'String', GIT_COMMIT_HASH, wrapString(gitCommitHash())
4142
buildConfigField 'String', GIT_BRANCH, wrapString(gitBranch())
43+
buildConfigField 'String', VERSION_NAME, wrapString(rootProject.ext.versionName)
4244

4345
minSdkVersion rootProject.ext.minSdkVersionFirebaseAuthRest
4446
targetSdkVersion rootProject.ext.targetSdkVersion
45-
versionCode rootProject.ext.fullVersionCode
46-
versionName rootProject.ext.versionName
47+
versionCode rootProject.ext.fullVersionCode // No need for lib module. Delete soon. https://issuetracker.google.com/issues/158695880#comment15
48+
versionName rootProject.ext.versionName // No need for lib module. Delete soon. https://issuetracker.google.com/issues/158695880#comment15
4749

4850
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
4951
consumerProguardFiles 'consumer-rules.pro'

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip

0 commit comments

Comments
 (0)