Skip to content

Commit

Permalink
Fix build (random dependencies issue...)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhaudiquet committed Feb 4, 2022
1 parent 67b3612 commit b5b0078
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 9 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility sourceCompatibility
targetCompatibility targetCompatibility
}
buildFeatures {
viewBinding true
Expand All @@ -56,9 +56,16 @@ android {
excludes += ['log4j2.xml', 'META-INF/DEPENDENCIES']
}
}
buildToolsVersion '32.0.0'
}

dependencies {
/* stdlib */
implementation 'org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.6.0'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0'

/* AndroidX (Jetpack) : compat libraries, and Material */
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
Expand Down
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Top-level build file
ext {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}// Top-level build file
buildscript {
repositories {
google()
Expand Down

0 comments on commit b5b0078

Please sign in to comment.