build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. apply from: rootProject.projectDir.absolutePath + "/VideoGradle/video.gradle"
  3. apply plugin: 'com.github.dcendents.android-maven'
  4. android {
  5. compileSdkVersion project.ext.androidCompileSdkVersion
  6. //buildToolsVersion project.ext.androidBuildToolsVersion
  7. defaultConfig {
  8. minSdkVersion project.ext.androidMinSdkVersion
  9. targetSdkVersion project.ext.androidTargetSdkVersion
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. consumerProguardFiles 'consumer-rules.pro'
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility 1.8
  23. targetCompatibility 1.8
  24. }
  25. }
  26. dependencies {
  27. implementation fileTree(dir: 'libs', include: ['*.jar'])
  28. implementation project.ext.AppDependencies['appcompat']
  29. }