in my version control file libs.versions.toml for kotlin the version is defined
kotlin = “1.8.22”
in the gradle.kts configuration file the android section is defined as follows
android {
compileSdk = 35
defaultConfig {
applicationId = "com.example.app"
minSdk = 21
targetSdk = 35
versionCode = 1
versionName = "1.0"
namespace = "com.example.app"
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
buildConfig = true
}
}
dk23 installed on the computer
When I compile I get the output
A problem occurred configuring root project ‘PersonalFinance’.
Failed to notify project evaluation listener.
Could not create task ‘:compileDebugAndroidTestKotlin’.
Unknown Kotlin JVM target: 23
KotlinJvmAndroidCompilation with name ‘debugAndroidTest’ not found.
What do I need to do to get the project build?