build.gradle 1.0 KB

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