From 2e55fa9790bb6f2c369587e69b4295c127cb2270 Mon Sep 17 00:00:00 2001 From: Kim Dong-Hyun Date: Sat, 8 Jun 2024 18:24:35 +0900 Subject: [PATCH] Revert "Update example app's `build.gradle`" This reverts commit e98cbd028647c06f8557b94dd0f66018f69aa547. --- flutter_ffi_plugin/example/android/build.gradle | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/flutter_ffi_plugin/example/android/build.gradle b/flutter_ffi_plugin/example/android/build.gradle index d2ffbffa..f7eb7f63 100755 --- a/flutter_ffi_plugin/example/android/build.gradle +++ b/flutter_ffi_plugin/example/android/build.gradle @@ -1,3 +1,16 @@ +buildscript { + ext.kotlin_version = '1.7.10' + repositories { + google() + mavenCentral() + } + + dependencies { + classpath 'com.android.tools.build:gradle:7.3.0' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + } +} + allprojects { repositories { google() @@ -5,12 +18,12 @@ allprojects { } } -rootProject.buildDir = "../build" +rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { - project.evaluationDependsOn(":app") + project.evaluationDependsOn(':app') } tasks.register("clean", Delete) {