build.gradle 1 KB
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1 2 3 4
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5 6 7
plugins {
    id "com.android.application"
    id "dev.flutter.flutter-gradle-plugin"
8 9 10
}

android {
11
    namespace "io.flutter.examples.Layers"
12
    compileSdk flutter.compileSdkVersion
13

14 15 16 17 18
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

19
    defaultConfig {
20
        applicationId "io.flutter.examples.layers"
21 22
        minSdkVersion flutter.minSdkVersion
        targetSdkVersion flutter.targetSdkVersion
23 24
        versionCode flutter.versionCode()
        versionName flutter.versionName()
25 26 27 28 29 30 31 32 33 34 35 36 37 38
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}