Skip to content

Commit

Permalink
Fix mismatch in compile version - #142 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimvalente committed Jul 29, 2024
1 parent b52126f commit 4517f34
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ group 'co.quis.flutter_contacts'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.7.21'
ext.kotlin_version = '1.9.0'
ext.kotlin_coroutines_version = '1.6.4'
repositories {
google()
Expand All @@ -11,7 +11,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.4.1'
classpath 'com.android.tools.build:gradle:8.1.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand All @@ -30,6 +30,12 @@ apply plugin: 'kotlin-android'
android {
compileSdkVersion 31

kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}

if (!project.hasProperty("namespace")) {
namespace 'co.quis.flutter_contacts'
}
Expand Down

0 comments on commit 4517f34

Please sign in to comment.