Open famousuniverse opened 1 month ago
group 'com.example.flutter_callkit_incoming' version '1.0-SNAPSHOT'
buildscript { ext.kotlin_version = '2.0.10'. <<<<< change repositories { google() jcenter() }
dependencies {
//classpath 'com.android.tools.build:gradle:4.1.0'
//classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.android.tools.build:gradle:8.1.2' <<<<<<<<<<< change
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects { repositories { google() jcenter() } }
apply plugin: 'com.android.library' apply plugin: 'kotlin-android'
android { compileSdk 34
if (project.android.hasProperty("namespace")) {
namespace "com.hiennv.flutter_callkit_incoming"
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdk 23
targetSdk 34
consumerProguardFiles 'consumer-rules.pro'
}
compileOptions { <<<<<<<<< change
sourceCompatibility JavaVersion.VERSION_17 <<<<<<<<<<change
targetCompatibility JavaVersion.VERSION_17 <<<<<<<<<<<change
}
}
Thank you @spich - that did it, fixed now. 😎
hello @spich i dont reallly get you
Its the only package that fails -- any clues why?
FAILURE: Build failed with an exception.