Update project structure

This was done in comparison to a newly created flutter project. Notably
this included migrating to AndroidX, updating Gradle and Kotlin and
introducing a new .gitignore file in the android subdirectory.
This commit is contained in:
Elias Projahn 2019-12-15 12:03:25 +01:00
parent d441dbcd57
commit 047ed8b7c8
7 changed files with 29 additions and 61 deletions

View file

@ -37,13 +37,12 @@ android {
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "de.johrpan.musicus"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
@ -62,6 +61,6 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}