mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Where AGP == Android Gradle plugin Upgrade carried out by Android Studio upgrade wizard ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
43 lines
1.3 KiB
Groovy
43 lines
1.3 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
defaultConfig {
|
|
applicationId "dev.flutter.example.androidfullscreen"
|
|
minSdkVersion 19
|
|
targetSdkVersion 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
multiDexEnabled true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
signingConfig debug.signingConfig
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility 1.8
|
|
targetCompatibility 1.8
|
|
}
|
|
namespace 'dev.flutter.example.androidfullscreen'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
|
implementation project(':flutter')
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'androidx.core:core-ktx:1.10.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation project(':espresso')
|
|
androidTestImplementation "com.google.truth:truth:1.1.3"
|
|
androidTestImplementation 'androidx.test:runner:1.5.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
api 'androidx.test:core:1.5.0'
|
|
}
|