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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
  13. if (flutterVersionCode == null) {
  14. flutterVersionCode = '1'
  15. }
  16. def flutterVersionName = localProperties.getProperty('flutter.versionName')
  17. if (flutterVersionName == null) {
  18. flutterVersionName = '1.0'
  19. }
  20. group 'flutter.plugins.screen.screen'
  21. version '1.0-SNAPSHOT'
  22. buildscript {
  23. repositories {
  24. google()
  25. jcenter()
  26. }
  27. dependencies {
  28. classpath 'com.android.tools.build:gradle:3.3.1'
  29. }
  30. }
  31. rootProject.allprojects {
  32. repositories {
  33. google()
  34. jcenter()
  35. }
  36. }
  37. apply plugin: 'com.android.library'
  38. android {
  39. compileSdkVersion 28
  40. defaultConfig {
  41. minSdkVersion 16
  42. targetSdkVersion 28
  43. versionCode flutterVersionCode.toInteger()
  44. versionName flutterVersionName
  45. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  46. }
  47. lintOptions {
  48. disable 'InvalidPackage'
  49. }
  50. }