Unverified Commit eb705992 authored by Brian Egan's avatar Brian Egan Committed by GitHub

Merge pull request #6 from brianegan/fix-gradle

Update gradle
parents ccdf2f0f 328b89bf
...@@ -15,8 +15,8 @@ apply plugin: 'com.android.application' ...@@ -15,8 +15,8 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android { android {
compileSdkVersion 25 compileSdkVersion 27
buildToolsVersion '25.0.3' buildToolsVersion '27.0.3'
lintOptions { lintOptions {
disable 'InvalidPackage' disable 'InvalidPackage'
...@@ -35,6 +35,9 @@ android { ...@@ -35,6 +35,9 @@ android {
// Signing with the debug keys for now, so `flutter run --release` works. // Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug signingConfig signingConfigs.debug
} }
profile {
matchingFallbacks = ['debug', 'release']
}
} }
} }
...@@ -43,7 +46,7 @@ flutter { ...@@ -43,7 +46,7 @@ flutter {
} }
dependencies { dependencies {
androidTestCompile 'com.android.support:support-annotations:25.4.0' testImplementation 'junit:junit:4.12'
androidTestCompile 'com.android.support.test:runner:0.5' androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestCompile 'com.android.support.test:rules:0.5' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
} }
buildscript { buildscript {
repositories { repositories {
google()
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.2.3' classpath 'com.android.tools.build:gradle:3.0.1'
} }
} }
allprojects { allprojects {
repositories { repositories {
google()
jcenter() jcenter()
maven {
url "https://maven.google.com"
}
} }
} }
rootProject.buildDir = '../build' rootProject.buildDir = '../build'
subprojects { subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}" project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app') project.evaluationDependsOn(':app')
} }
......
...@@ -136,7 +136,7 @@ class FontAwesomeGalleryHomeState extends State<FontAwesomeGalleryHome> { ...@@ -136,7 +136,7 @@ class FontAwesomeGalleryHomeState extends State<FontAwesomeGalleryHome> {
onChanged: (text) => setState(() => _searchTerm = text), onChanged: (text) => setState(() => _searchTerm = text),
autofocus: true, autofocus: true,
style: new TextStyle(fontSize: 18.0), style: new TextStyle(fontSize: 18.0),
decoration: new InputDecoration(hideDivider: true), decoration: new InputDecoration(border: InputBorder.none),
), ),
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment