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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. def localProperties = new Properties()
  2. def localPropertiesFile = rootProject.file('local.properties')
  3. if (localPropertiesFile.exists()) {
  4. localPropertiesFile.withReader('UTF-8') { reader ->
  5. localProperties.load(reader)
  6. }
  7. }
  8. def flutterRoot = localProperties.getProperty('flutter.sdk')
  9. if (flutterRoot == null) {
  10. throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
  11. }
  12. apply plugin: 'com.android.application'
  13. apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
  14. android {
  15. compileSdkVersion 27
  16. lintOptions {
  17. disable 'InvalidPackage'
  18. }
  19. defaultConfig {
  20. // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
  21. applicationId "com.appleeducate.vibrateexample"
  22. minSdkVersion 16
  23. targetSdkVersion 27
  24. versionCode 1
  25. versionName "1.0"
  26. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  27. }
  28. buildTypes {
  29. release {
  30. // TODO: Add your own signing config for the release build.
  31. // Signing with the debug keys for now, so `flutter run --release` works.
  32. signingConfig signingConfigs.debug
  33. }
  34. }
  35. }
  36. flutter {
  37. source '../..'
  38. }
  39. dependencies {
  40. testImplementation 'junit:junit:4.12'
  41. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  42. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  43. }