build.gradle 871 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk 31
  6. defaultConfig {
  7. minSdk 21
  8. targetSdk 31
  9. consumerProguardFiles "consumer-rules.pro"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_1_7
  19. targetCompatibility JavaVersion.VERSION_1_7
  20. }
  21. }
  22. dependencies {
  23. api files('../oppo/libs/core-1.1.0.aar')
  24. api files('../oppo/libs/gamesdk-20220310.aar')
  25. api files('../oppo/libs/gamesdk-common-20220310.aar')
  26. api files('../oppo/libs/oaid_sdk_1.0.25.aar')
  27. compileOnly project(':library_base')
  28. compileOnly project(':library_core')
  29. compileOnly project(':library_channel')
  30. }