build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. group = "com.atmob.flutter_umeng"
  2. version = "1.0"
  3. buildscript {
  4. repositories {
  5. google()
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath("com.android.tools.build:gradle:7.3.0")
  10. }
  11. }
  12. rootProject.allprojects {
  13. repositories {
  14. google()
  15. mavenCentral()
  16. }
  17. }
  18. apply plugin: "com.android.library"
  19. android {
  20. if (project.android.hasProperty("namespace")) {
  21. namespace = "com.atmob.flutter_umeng"
  22. }
  23. compileSdk = 34
  24. compileOptions {
  25. sourceCompatibility = JavaVersion.VERSION_1_8
  26. targetCompatibility = JavaVersion.VERSION_1_8
  27. }
  28. defaultConfig {
  29. minSdk = 21
  30. }
  31. dependencies {
  32. testImplementation("junit:junit:4.13.2")
  33. testImplementation("org.mockito:mockito-core:5.0.0")
  34. }
  35. testOptions {
  36. unitTests.all {
  37. testLogging {
  38. events "passed", "skipped", "failed", "standardOut", "standardError"
  39. outputs.upToDateWhen {false}
  40. showStandardStreams = true
  41. }
  42. }
  43. }
  44. }