Temporarily bring the embedding dependencies in the Flutter gallery (#44201)

This commit is contained in:
Emmanuel Garcia
2019-11-05 12:32:30 -08:00
committed by GitHub
parent 1663fde347
commit 14ac88d3bc

View File

@@ -73,6 +73,14 @@ flutter {
}
dependencies {
// TODO(egarciad): Remove these dependencies once https://github.com/flutter/flutter/issues/40866 is fixed.
implementation "androidx.annotation:annotation:1.1.0"
def lifecycle_version = "2.1.0"
implementation "androidx.lifecycle:lifecycle-common:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
implementation "androidx.fragment:fragment:1.1.0"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:rules:1.1.1'
androidTestImplementation 'androidx.test:runner:1.1.1'