@@ -14,6 +14,12 @@ if (flutterRoot == null) {
1414apply plugin : ' com.android.application'
1515apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
1616
17+ /*
18+ def keystorePropertiesFile = rootProject.file("key.properties")
19+ def keystoreProperties = new Properties()
20+ keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
21+ */
22+
1723android {
1824 compileSdkVersion 27
1925
@@ -22,30 +28,42 @@ android {
2228 }
2329
2430 defaultConfig {
25- // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
26- applicationId " stream.streamgames"
31+ applicationId " stream.games"
2732 minSdkVersion 16
2833 targetSdkVersion 27
2934 versionCode 1
3035 versionName " 1.0"
3136 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
3237 }
3338
39+
40+ signingConfigs {
41+ release {
42+ /*
43+ keyAlias keystoreProperties['keyAlias']
44+ keyPassword keystoreProperties['keyPassword']
45+ storeFile file(keystoreProperties['storeFile'])
46+ storePassword keystoreProperties['storePassword']
47+ */
48+ }
49+ }
50+
3451 buildTypes {
3552 release {
36- // TODO: Add your own signing config for the release build.
37- // Signing with the debug keys for now, so `flutter run --release` works.
53+ signingConfig signingConfigs. release
54+ }
55+ debug {
3856 signingConfig signingConfigs. debug
3957 }
4058 }
41- }
4259
43- flutter {
44- source ' ../..'
45- }
60+ flutter {
61+ source ' ../..'
62+ }
4663
47- dependencies {
48- testImplementation ' junit:junit:4.12'
49- androidTestImplementation ' com.android.support.test:runner:1.0.1'
50- androidTestImplementation ' com.android.support.test.espresso:espresso-core:3.0.1'
51- }
64+ dependencies {
65+ testImplementation ' junit:junit:4.12'
66+ androidTestImplementation ' com.android.support.test:runner:1.0.2'
67+ androidTestImplementation ' com.android.support.test.espresso:espresso-core:3.0.2'
68+ }
69+ }
0 commit comments