Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. def PLUGIN = "webview_flutter";
  2. def ANDROIDX_WARNING = "flutterPluginsAndroidXWarning";
  3. gradle.buildFinished { buildResult ->
  4. if (buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)) {
  5. println ' *********************************************************'
  6. println 'WARNING: This version of ' + PLUGIN + ' will break your Android build if it or its dependencies aren\'t compatible with AndroidX.'
  7. println ' See https://goo.gl/CP92wY for more information on the problem and how to fix it.'
  8. println ' This warning prints for all Android build failures. The real root cause of the error may be unrelated.'
  9. println ' *********************************************************'
  10. rootProject.ext.set(ANDROIDX_WARNING, true);
  11. }
  12. }
  13. group 'io.flutter.plugins.webviewflutter'
  14. version '1.0-SNAPSHOT'
  15. buildscript {
  16. repositories {
  17. google()
  18. jcenter()
  19. }
  20. dependencies {
  21. classpath 'com.android.tools.build:gradle:3.3.0'
  22. }
  23. }
  24. rootProject.allprojects {
  25. repositories {
  26. google()
  27. jcenter()
  28. }
  29. }
  30. apply plugin: 'com.android.library'
  31. android {
  32. compileSdkVersion 28
  33. defaultConfig {
  34. minSdkVersion 16
  35. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  36. }
  37. lintOptions {
  38. disable 'InvalidPackage'
  39. }
  40. dependencies {
  41. implementation 'androidx.webkit:webkit:1.0.0'
  42. }
  43. }