Skip to content

Commit

Permalink
Fix vulkan sample to work with any Kotlin version.
Browse files Browse the repository at this point in the history
Combining all the samples into one project means they have to all use
the same Kotlin plugin version, which is 1.7.21 for all the others. The
unused dependency on core-ktx was forcing the app to use 1.8.something.
  • Loading branch information
DanAlbert committed May 7, 2024
1 parent 3a63f16 commit 980d225
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hello-vulkan/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
* limitations under the License.
*/

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}

android {
compileSdk 33
Expand Down Expand Up @@ -65,7 +67,6 @@ android {
}

dependencies {
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.games:games-activity:2.1.0-alpha01'
}
Expand Down

0 comments on commit 980d225

Please sign in to comment.