diff --git a/examples/tv-app/android/App/build.gradle b/examples/tv-app/android/App/build.gradle index 79c656c2ab4cc1..42bb88d287a3d1 100644 --- a/examples/tv-app/android/App/build.gradle +++ b/examples/tv-app/android/App/build.gradle @@ -1,12 +1,13 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { + ext.kotlin_version = '1.9.20' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:4.2.2' - + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -22,4 +23,4 @@ allprojects { task clean(type: Delete) { delete rootProject.buildDir -} \ No newline at end of file +} diff --git a/examples/tv-app/android/App/platform-app/build.gradle b/examples/tv-app/android/App/platform-app/build.gradle index 5d9b8e32a4a9f1..967d697c488304 100644 --- a/examples/tv-app/android/App/platform-app/build.gradle +++ b/examples/tv-app/android/App/platform-app/build.gradle @@ -68,4 +68,5 @@ dependencies { androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' implementation 'com.google.zxing:core:3.3.0' -} \ No newline at end of file + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" +}