build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. group 'anjiplus.aj_flutter_appsp'
  2. version '1.0-SNAPSHOT'
  3. buildscript {
  4. repositories {
  5. google()
  6. jcenter()
  7. mavenCentral()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:3.2.1'
  11. }
  12. }
  13. rootProject.allprojects {
  14. repositories {
  15. google()
  16. jcenter()
  17. // maven {
  18. // url "https://raw.githubusercontent.com/anji-plus/aj_android_appsp_aar/main"
  19. // }
  20. }
  21. }
  22. apply plugin: 'com.android.library'
  23. android {
  24. compileSdkVersion 28
  25. defaultConfig {
  26. minSdkVersion 16
  27. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  28. }
  29. lintOptions {
  30. disable 'InvalidPackage'
  31. }
  32. }
  33. dependencies {
  34. implementation fileTree(dir: 'libs', include: ['*.jar'])
  35. implementation fileTree(dir: 'libs', include: ['*.aar'])
  36. api "androidx.appcompat:appcompat:1.0.0"
  37. api 'androidx.legacy:legacy-support-v4:1.0.0'
  38. implementation 'com.google.code.gson:gson:2.8.0'
  39. // api 'anji.sdk.appsp:aar:0.0.2'
  40. }