Skip to content

Commit

Permalink
Add missing settings.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusztylman committed Apr 11, 2022
1 parent ee21038 commit 38389fa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions android/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include ':app'

def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()

assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }

def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"

0 comments on commit 38389fa

Please sign in to comment.