-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1348a3
commit bee8f5b
Showing
18 changed files
with
902 additions
and
295 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,8 +33,6 @@ migrate_working_dir/ | |
.pub/ | ||
/build/ | ||
|
||
**/.cxx/ | ||
|
||
# Symbolication related | ||
app.*.symbols | ||
|
||
|
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import java.util.Properties | ||
import java.io.FileInputStream | ||
|
||
plugins { | ||
id("com.android.application") | ||
id("kotlin-android") | ||
// START: FlutterFire Configuration | ||
id("com.google.gms.google-services") | ||
id("com.google.firebase.firebase-perf") | ||
id("com.google.firebase.crashlytics") | ||
// END: FlutterFire Configuration | ||
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. | ||
id("dev.flutter.flutter-gradle-plugin") | ||
} | ||
|
||
val keystorePropertiesFile = rootProject.file("key.properties") | ||
val keystoreProperties = Properties() | ||
keystoreProperties.load(FileInputStream(keystorePropertiesFile)) | ||
|
||
android { | ||
namespace = "com.stongef.monpacing" | ||
compileSdk = flutter.compileSdkVersion | ||
ndkVersion = "27.0.12077973" //flutter.ndkVersion | ||
|
||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = JavaVersion.VERSION_11.toString() | ||
} | ||
|
||
defaultConfig { | ||
applicationId = "com.stongef.monpacing" | ||
minSdk = 23 //flutter.minSdkVersion | ||
targetSdk = flutter.targetSdkVersion | ||
versionCode = flutter.versionCode | ||
versionName = flutter.versionName | ||
} | ||
|
||
signingConfigs { | ||
create("release") { | ||
keyAlias = keystoreProperties["keyAlias"] as String | ||
keyPassword = keystoreProperties["keyPassword"] as String | ||
storeFile = file(keystoreProperties["storeFile"] as String) | ||
storePassword = keystoreProperties["storePassword"] as String | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
signingConfig = signingConfigs.getByName("release") | ||
} | ||
} | ||
} | ||
|
||
flutter { | ||
source = "../.." | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get() | ||
rootProject.layout.buildDirectory.value(newBuildDir) | ||
|
||
subprojects { | ||
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name) | ||
project.layout.buildDirectory.value(newSubprojectBuildDir) | ||
} | ||
subprojects { | ||
project.evaluationDependsOn(":app") | ||
} | ||
|
||
tasks.register<Delete>("clean") { | ||
delete(rootProject.layout.buildDirectory) | ||
} |
Oops, something went wrong.