File tree Expand file tree Collapse file tree 13 files changed +126
-77
lines changed
kotlin/com/example/flutter_evolution Expand file tree Collapse file tree 13 files changed +126
-77
lines changed Original file line number Diff line number Diff line change 2424** /doc /api /
2525.dart_tool /
2626.flutter-plugins
27+ .flutter-plugins-dependencies
2728.packages
2829.pub-cache /
2930.pub /
3031/build /
3132
32- # Android related
33- ** /android /** /gradle-wrapper.jar
34- ** /android /.gradle
35- ** /android /captures /
36- ** /android /gradlew
37- ** /android /gradlew.bat
38- ** /android /local.properties
39- ** /android /** /GeneratedPluginRegistrant.java
40-
41- # iOS/XCode related
42- ** /ios /** /* .mode1v3
43- ** /ios /** /* .mode2v3
44- ** /ios /** /* .moved-aside
45- ** /ios /** /* .pbxuser
46- ** /ios /** /* .perspectivev3
47- ** /ios /** /* sync /
48- ** /ios /** /.sconsign.dblite
49- ** /ios /** /.tags *
50- ** /ios /** /.vagrant /
51- ** /ios /** /DerivedData /
52- ** /ios /** /Icon ?
53- ** /ios /** /Pods /
54- ** /ios /** /.symlinks /
55- ** /ios /** /profile
56- ** /ios /** /xcuserdata
57- ** /ios /.generated /
58- ** /ios /Flutter /App.framework
59- ** /ios /Flutter /Flutter.framework
60- ** /ios /Flutter /Generated.xcconfig
61- ** /ios /Flutter /app.flx
62- ** /ios /Flutter /app.zip
63- ** /ios /Flutter /flutter_assets /
64- ** /ios /Flutter /flutter_export_environment.sh
65- ** /ios /ServiceDefinitions.json
66- ** /ios /Runner /GeneratedPluginRegistrant. *
33+ # Web related
34+ lib /generated_plugin_registrant.dart
6735
6836# Exceptions to above rules.
69- ! ** /ios /** /default.mode1v3
70- ! ** /ios /** /default.mode2v3
71- ! ** /ios /** /default.pbxuser
72- ! ** /ios /** /default.perspectivev3
7337! /packages /flutter_tools /test /data /dart_dependencies_test /** /.packages
Original file line number Diff line number Diff line change 44# This file should be version controlled and should not be manually edited.
55
66version:
7- revision: 68587a0916366e9512a78df22c44163d041dd5f3
7+ revision: f139b11009aeb8ed2a3a3aa8b0066e482709dde3
88 channel: stable
99
1010project_type: app
Original file line number Diff line number Diff line change 1+ gradle-wrapper.jar
2+ /.gradle
3+ /captures /
4+ /gradlew
5+ /gradlew.bat
6+ /local.properties
7+ GeneratedPluginRegistrant.java
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ android {
4343 targetSdkVersion 28
4444 versionCode flutterVersionCode. toInteger()
4545 versionName flutterVersionName
46- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
46+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
4747 }
4848
4949 buildTypes {
@@ -62,6 +62,6 @@ flutter {
6262dependencies {
6363 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
6464 testImplementation ' junit:junit:4.12'
65- androidTestImplementation ' com.android.support. test:runner:1.0.2 '
66- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
65+ androidTestImplementation ' androidx. test:runner:1.1.1 '
66+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.1 '
6767}
Original file line number Diff line number Diff line change 11<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
22 package =" com.example.flutter_evolution" >
3-
43 <!-- io.flutter.app.FlutterApplication is an android.app.Application that
54 calls FlutterMain.startInitialization(this); in its onCreate method.
65 In most cases you can leave this as-is, but you if you want to provide
1413 android : name =" .MainActivity"
1514 android : launchMode =" singleTop"
1615 android : theme =" @style/LaunchTheme"
17- android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
16+ android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize| locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1817 android : hardwareAccelerated =" true"
1918 android : windowSoftInputMode =" adjustResize" >
20- <!-- This keeps the window background of the activity showing
21- until Flutter renders its first frame. It can be removed if
22- there is no splash screen (such as the default splash screen
23- defined in @style/LaunchTheme). -->
24- <meta-data
25- android : name =" io.flutter.app.android.SplashScreenUntilFirstFrame"
26- android : value =" true" />
2719 <intent-filter >
2820 <action android : name =" android.intent.action.MAIN" />
2921 <category android : name =" android.intent.category.LAUNCHER" />
3022 </intent-filter >
3123 </activity >
24+ <!-- Don't delete the meta-data below.
25+ This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
26+ <meta-data
27+ android : name =" flutterEmbedding"
28+ android : value =" 2" />
3229 </application >
3330</manifest >
Original file line number Diff line number Diff line change 11package com.example.flutter_evolution
22
3- import android.os.Bundle
4-
5- import io.flutter.app.FlutterActivity
3+ import androidx.annotation.NonNull;
4+ import io.flutter.embedding.android.FlutterActivity
5+ import io.flutter.embedding.engine.FlutterEngine
66import io.flutter.plugins.GeneratedPluginRegistrant
77
88class MainActivity : FlutterActivity () {
9- override fun onCreate (savedInstanceState : Bundle ? ) {
10- super .onCreate(savedInstanceState)
11- GeneratedPluginRegistrant .registerWith(this )
12- }
9+ override fun configureFlutterEngine (@NonNull flutterEngine : FlutterEngine ) {
10+ GeneratedPluginRegistrant .registerWith(flutterEngine);
11+ }
1312}
Original file line number Diff line number Diff line change 11buildscript {
2- ext. kotlin_version = ' 1.2.71 '
2+ ext. kotlin_version = ' 1.3.50 '
33 repositories {
44 google()
55 jcenter()
66 }
77
88 dependencies {
9- classpath ' com.android.tools.build:gradle:3.2.1 '
9+ classpath ' com.android.tools.build:gradle:3.5.0 '
1010 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1111 }
1212}
Original file line number Diff line number Diff line change 11org.gradle.jvmargs =-Xmx1536M
2-
2+ android.enableR8 =true
3+ android.useAndroidX =true
4+ android.enableJetifier =true
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-4.10 .2-all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.6 .2-all.zip
Original file line number Diff line number Diff line change 1+ * .mode1v3
2+ * .mode2v3
3+ * .moved-aside
4+ * .pbxuser
5+ * .perspectivev3
6+ ** /* sync /
7+ .sconsign.dblite
8+ .tags *
9+ ** /.vagrant /
10+ ** /DerivedData /
11+ Icon ?
12+ ** /Pods /
13+ ** /.symlinks /
14+ profile
15+ xcuserdata
16+ ** /.generated /
17+ Flutter /App.framework
18+ Flutter /Flutter.framework
19+ Flutter /Flutter.podspec
20+ Flutter /Generated.xcconfig
21+ Flutter /app.flx
22+ Flutter /app.zip
23+ Flutter /flutter_assets /
24+ Flutter /flutter_export_environment.sh
25+ ServiceDefinitions.json
26+ Runner /GeneratedPluginRegistrant. *
27+
28+ # Exceptions to above rules.
29+ ! default.mode1v3
30+ ! default.mode2v3
31+ ! default.pbxuser
32+ ! default.perspectivev3
You can’t perform that action at this time.
0 commit comments