build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply from: "../flutter.gradle"
  4. android {
  5. compileSdkVersion 29
  6. buildToolsVersion "29.0.3"
  7. defaultConfig {
  8. minSdkVersion 24
  9. targetSdkVersion 29
  10. applicationId "app.yakka.fluroexample"
  11. versionCode 1
  12. versionName "1.6.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. lintOptions {
  16. disable 'InvalidPackage'
  17. }
  18. buildTypes {
  19. release {
  20. // TODO: Add your own signing config for the release build.
  21. // Signing with the debug keys for now, so `flutter run --release` works.
  22. signingConfig signingConfigs.debug
  23. }
  24. }
  25. }
  26. dependencies {
  27. implementation fileTree(dir: 'libs', include: ['*.jar'])
  28. // kotlin
  29. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61"
  30. // google
  31. implementation 'androidx.appcompat:appcompat:1.1.0'
  32. implementation 'androidx.legacy:legacy-support-v13:1.0.0'
  33. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  34. // testing
  35. androidTestImplementation 'androidx.annotation:annotation:1.1.0'
  36. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  37. androidTestImplementation 'androidx.test:rules:1.2.0'
  38. }