build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 32
  4. defaultConfig {
  5. applicationId "com.yanyi.basepermission"
  6. minSdkVersion 15
  7. targetSdkVersion 32
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. }
  23. dependencies {
  24. implementation fileTree(include: ['*.jar'], dir: 'libs')
  25. implementation 'androidx.appcompat:appcompat:1.2.0'
  26. testImplementation 'junit:junit:4.12'
  27. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  28. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  29. implementation 'androidx.core:core-ktx:1.3.2'
  30. implementation project(':permissionlib')
  31. // implementation('com.yanyi.benyanyi:PermissionHelper-kt:1.1.3')
  32. }
  33. repositories {
  34. mavenCentral()
  35. }