From 220eb9992173c1f296d897afebdfa2c1383d0755 Mon Sep 17 00:00:00 2001 From: vladimir-shperling Date: Mon, 9 Sep 2024 02:45:39 +0700 Subject: [PATCH] Add kotlin init --- app/build.gradle.kts | 7 ++++++- buildSrc | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 0ab9e22..14f1585 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,4 +1,5 @@ plugins { + kotlinAndroid androidApplication } @@ -17,13 +18,17 @@ android { testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } - + buildFeatures.viewBinding = true compileOptions { sourceCompatibility = Version.Kotlin.javaSource targetCompatibility = Version.Kotlin.javaSource } + + kotlinOptions { + jvmTarget = Version.Kotlin.jvmTarget + } } dependencies { diff --git a/buildSrc b/buildSrc index e0cd40f..deb24ec 160000 --- a/buildSrc +++ b/buildSrc @@ -1 +1 @@ -Subproject commit e0cd40f8a1d1e53eab146f4ae489a1cd943ac154 +Subproject commit deb24ec7ef3d1bda80ec8d8619b7b2bc86788682