| def flutterPluginVersion = 'managed' |
| |
| apply plugin: 'com.android.application' |
| |
| android { |
| compileSdkVersion {{compileSdkVersion}} |
| |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_8 |
| targetCompatibility JavaVersion.VERSION_1_8 |
| } |
| |
| defaultConfig { |
| applicationId "{{androidIdentifier}}.host" |
| minSdkVersion {{minSdkVersion}} |
| targetSdkVersion {{targetSdkVersion}} |
| versionCode 1 |
| versionName "1.0" |
| } |
| |
| buildTypes { |
| profile { |
| initWith debug |
| } |
| 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 |
| } |
| } |
| |
| } |
| buildDir = new File(rootProject.projectDir, "../build/host") |
| dependencies { |
| implementation project(':flutter') |
| implementation fileTree(dir: 'libs', include: ['*.jar']) |
| implementation 'androidx.appcompat:appcompat:1.0.2' |
| implementation 'androidx.constraintlayout:constraintlayout:1.1.3' |
| } |