Last active
September 11, 2019 12:51
-
-
Save nonbeing/1cfe300476a1f237a8dd5f494f33bffe to your computer and use it in GitHub Desktop.
FlutterFire dependency versions working as of 11 Sep 2019
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NOTE: this is the build.gradle file located inside project/android/app | |
def localProperties = new Properties() | |
def localPropertiesFile = rootProject.file('local.properties') | |
if (localPropertiesFile.exists()) { | |
localPropertiesFile.withReader('UTF-8') { reader -> | |
localProperties.load(reader) | |
} | |
} | |
def flutterRoot = localProperties.getProperty('flutter.sdk') | |
if (flutterRoot == null) { | |
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") | |
} | |
apply plugin: 'com.android.application' | |
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" | |
android { | |
compileSdkVersion 28 | |
lintOptions { | |
disable 'InvalidPackage' | |
} | |
defaultConfig { | |
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | |
applicationId "tech.anatta.fluttershare" | |
minSdkVersion 16 | |
targetSdkVersion 28 | |
versionCode 1 | |
versionName "1.2.2" | |
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | |
multiDexEnabled true | |
} | |
signingConfigs { | |
debug { | |
storeFile file('C:\\Users\\ambar\\.android\\debug.keystore') | |
keyAlias 'androiddebugkey' | |
keyPassword 'android' | |
storePassword 'android' | |
} | |
} | |
buildTypes { | |
debug { | |
signingConfig signingConfigs.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 | |
} | |
} | |
} | |
flutter { | |
source '../..' | |
} | |
dependencies { | |
testImplementation 'junit:junit:4.12' | |
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4' | |
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4' | |
} | |
apply plugin: 'com.google.gms.google-services' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
google() | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:3.3.2' | |
classpath 'com.google.gms:google-services:4.2.0' | |
} | |
} | |
allprojects { | |
repositories { | |
google() | |
jcenter() | |
maven { | |
url "https://maven.google.com" // Google's Maven repository | |
} | |
} | |
} | |
rootProject.buildDir = '../build' | |
subprojects { | |
project.buildDir = "${rootProject.buildDir}/${project.name}" | |
} | |
subprojects { | |
project.evaluationDependsOn(':app') | |
} | |
task clean(type: Delete) { | |
delete rootProject.buildDir | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: fluttershare | |
description: A new Flutter project. | |
version: 1.0.0+1 | |
environment: | |
sdk: ">=2.1.0 <3.0.0" | |
dependencies: | |
flutter: | |
sdk: flutter | |
google_sign_in: ^4.0.7 | |
cloud_firestore: ^0.12.9+4 | |
firebase_core: ^0.4.0+9 | |
firebase_messaging: ^5.1.5 | |
firebase_storage: ^3.0.6 | |
firebase_auth: ^0.14.0+5 | |
firebase_analytics: ^5.0.2 | |
image_picker: ^0.6.1+4 | |
geolocator: ^5.1.3 | |
uuid: ^2.0.2 | |
image: ^2.1.4 | |
animator: 0.1.4 | |
cupertino_icons: ^0.1.2 | |
path_provider: ^0.5.0+1 | |
timeago: 2.0.17 | |
cached_network_image: | |
flutter_svg: | |
dev_dependencies: | |
flutter_test: | |
sdk: flutter | |
# For information on the generic Dart part of this file, see the | |
# following page: https://dart.dev/tools/pub/pubspec | |
# The following section is specific to Flutter. | |
flutter: | |
uses-material-design: true | |
fonts: | |
- family: Signatra | |
fonts: | |
- asset: assets/fonts/Signatra.ttf | |
assets: | |
- assets/images/google_signin_button.png | |
- assets/images/upload.svg | |
- assets/images/search.svg | |
- assets/images/activity_feed.svg | |
- assets/images/no_content.svg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment