build: update kotlin plugin

update kotlin version to 2.3.21
use org.jetbrains.kotlin.android
add aidl support
This commit is contained in:
2026-05-19 19:50:03 +08:00
parent c878c307b3
commit 3999748747
2 changed files with 7 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
apply plugin: 'com.android.application' plugins {
apply plugin: 'kotlin-android' id 'com.android.application'
apply plugin: 'kotlin-kapt' id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
}
static def appName() { static def appName() {
return "TTStdElderlyDialer" return "TTStdElderlyDialer"
@@ -87,6 +89,7 @@ android {
buildFeatures { buildFeatures {
dataBinding true dataBinding true
buildConfig true buildConfig true
aidl true
} }
externalNativeBuild { externalNativeBuild {

View File

@@ -2,7 +2,7 @@
apply from: "config.gradle" apply from: "config.gradle"
buildscript { buildscript {
ext.kotlin_version = '2.2.21' ext.kotlin_version = '2.3.21'
repositories { repositories {
google() google()