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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. group 'com.pauldemarco.flutterblue'
  2. version '1.0-SNAPSHOT'
  3. buildscript {
  4. repositories {
  5. google()
  6. jcenter()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:3.3.0'
  10. classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.7'
  11. }
  12. }
  13. rootProject.allprojects {
  14. repositories {
  15. google()
  16. jcenter()
  17. }
  18. }
  19. apply plugin: 'com.android.library'
  20. apply plugin: 'com.google.protobuf'
  21. android {
  22. compileSdkVersion 28
  23. defaultConfig {
  24. minSdkVersion 19
  25. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  26. }
  27. lintOptions {
  28. disable 'InvalidPackage'
  29. }
  30. dependencies {
  31. // Required for local unit tests (JUnit 4 framework)
  32. testImplementation 'junit:junit:4.12'
  33. implementation 'androidx.core:core:1.0.1'
  34. //compile files('/home/paul/flutter/bin/cache/artifacts/engine/android-arm/flutter.jar')
  35. }
  36. sourceSets {
  37. main {
  38. proto {
  39. srcDir '../protos'
  40. }
  41. }
  42. }
  43. }
  44. protobuf {
  45. // Configure the protoc executable
  46. protoc {
  47. // Download from repositories
  48. artifact = 'com.google.protobuf:protoc:3.6.1'
  49. }
  50. plugins {
  51. javalite {
  52. // The codegen for lite comes as a separate artifact
  53. artifact = 'com.google.protobuf:protoc-gen-javalite:3.0.0'
  54. }
  55. }
  56. generateProtoTasks {
  57. all().each { task ->
  58. task.plugins {
  59. javalite { }
  60. }
  61. }
  62. }
  63. }
  64. dependencies {
  65. implementation 'com.google.protobuf:protobuf-lite:3.0.1'
  66. }