"Fossies" - the Fresh Open Source Software Archive

Member "flutter-1.22.4/dev/integration_tests/android_embedding_v2_smoke_test/android/settings.gradle" (13 Nov 2020, 627 Bytes) of package /linux/misc/flutter-1.22.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Java source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // Copyright 2014 The Flutter Authors. All rights reserved.
    2 // Use of this source code is governed by a BSD-style license that can be
    3 // found in the LICENSE file.
    4 
    5 include ':app'
    6 
    7 def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
    8 def properties = new Properties()
    9 
   10 assert localPropertiesFile.exists()
   11 localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
   12 
   13 def flutterSdkPath = properties.getProperty("flutter.sdk")
   14 assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
   15 apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"