Skip to content

Commit

Permalink
Deprecated imperative apply of Flutter's Gradle plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvanMo committed Feb 19, 2024
1 parent f65d64d commit 7a9a998
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
Expand All @@ -16,12 +22,6 @@ if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}

android {
namespace "com.jarvan.tobias_example"
compileSdkVersion flutter.compileSdkVersion
Expand Down

0 comments on commit 7a9a998

Please sign in to comment.