Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
tien-awair committed Apr 22, 2022
1 parent 067fa12 commit 88b9270
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
android.enablerD8=true

UIKIT_VERSION = 2.2.5
UIKIT_VERSION = 2.5.2
UIKIT_VERSION_CODE = 1

7 changes: 7 additions & 0 deletions uikit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ android {
targetSdkVersion 30
versionCode Integer.parseInt(UIKIT_VERSION_CODE)
versionName UIKIT_VERSION

buildConfigField("long", "VERSION_CODE", "${defaultConfig.versionCode}")
buildConfigField("String","VERSION_NAME","\"${defaultConfig.versionName}\"")
}

buildTypes {
Expand All @@ -34,6 +37,10 @@ android {
debug {
debuggable true
}

lintOptions {
abortOnError false
}
}
compileOptions {
sourceCompatibility = 1.8
Expand Down

0 comments on commit 88b9270

Please sign in to comment.