Skip to content

Commit

Permalink
fix gradle failure caused by lib versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wenxi-zeng committed Apr 14, 2023
1 parent 959485e commit 9d39a55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = getVersionName()

plugins {
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
id("org.jetbrains.kotlin.jvm") version "1.6.0"
id("org.jetbrains.kotlin.jvm") version "1.8.0"

// Apply the java-library plugin for API and implementation separation.
`java-library`
Expand All @@ -22,8 +22,8 @@ buildscript {
gradlePluginPortal()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.6.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.8.0")
classpath("com.android.tools.build:gradle:7.0.4")
}
}
Expand Down
5 changes: 1 addition & 4 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ val VERSION_NAME: String by project

android {
compileSdk = 33
buildToolsVersion = "31.0.0"

defaultConfig {
multiDexEnabled = true
Expand Down Expand Up @@ -45,9 +44,7 @@ dependencies {
implementation("com.segment.analytics.kotlin:android:1.10.3")
implementation("androidx.multidex:multidex:2.0.1")

implementation("androidx.core:core-ktx:1.9.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.8.0")
implementation("androidx.core:core-ktx:1.8.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

implementation("androidx.lifecycle:lifecycle-process:2.4.1")
Expand Down

0 comments on commit 9d39a55

Please sign in to comment.