From c090caa58be3d35f4624ec78ea75f1a837cd28bd Mon Sep 17 00:00:00 2001 From: fhuya Date: Tue, 25 Feb 2020 11:18:36 -0500 Subject: Provides a base implementation of the Vulkan surface view (VkSurfaceView.kt) and its accompanying components. The implementation is meant to be extended and updated in order to integrate it with the existing Godot java and native codebase. --- platform/android/java/app/build.gradle | 2 ++ platform/android/java/app/config.gradle | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'platform/android/java/app') diff --git a/platform/android/java/app/build.gradle b/platform/android/java/app/build.gradle index 990fb35c46..632cedf34d 100644 --- a/platform/android/java/app/build.gradle +++ b/platform/android/java/app/build.gradle @@ -15,6 +15,7 @@ buildscript { } dependencies { classpath libraries.androidGradlePlugin + classpath libraries.kotlinGradlePlugin //CHUNK_BUILDSCRIPT_DEPENDENCIES_BEGIN //CHUNK_BUILDSCRIPT_DEPENDENCIES_END } @@ -34,6 +35,7 @@ allprojects { dependencies { implementation libraries.supportCoreUtils + implementation libraries.kotlinStdLib if (rootProject.findProject(":lib")) { implementation project(":lib") diff --git a/platform/android/java/app/config.gradle b/platform/android/java/app/config.gradle index 7a983a1cc8..4fdb88314f 100644 --- a/platform/android/java/app/config.gradle +++ b/platform/android/java/app/config.gradle @@ -4,13 +4,16 @@ ext.versions = [ minSdk : 18, targetSdk : 29, buildTools : '29.0.1', - supportCoreUtils : '28.0.0' + supportCoreUtils : '28.0.0', + kotlinVersion : '1.3.61' ] ext.libraries = [ androidGradlePlugin: "com.android.tools.build:gradle:$versions.androidGradlePlugin", - supportCoreUtils : "com.android.support:support-core-utils:$versions.supportCoreUtils" + supportCoreUtils : "com.android.support:support-core-utils:$versions.supportCoreUtils", + kotlinGradlePlugin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlinVersion", + kotlinStdLib : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlinVersion" ] ext.getExportPackageName = { -> -- cgit v1.2.3