| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 29
- defaultConfig {
- // applicationId "com.usai.redant.apexdrivers"
- minSdkVersion 24
- targetSdkVersion 29
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled true
- zipAlignEnabled true
- // shrinkResources true
- // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
- }
- }
- libraryVariants.all { variant ->
- // if (variant.buildType.name == 'release') {
- variant.getAssembleProvider().configure()
- {
- it.doLast {
- variant.outputs.each { output ->
- def outputFile = output.outputFile
- // if (outputFile != null && outputFile.name.endsWith('release.aar')) {
- def fileName = "${project.name}"
- println(fileName)
- def outputPath = "../output"
- copy {
- from outputFile
- into outputPath
- rename { fileName + ".aar" }
- }
- // }
- }
- }
- }
- // }
- }
- gradle.projectsEvaluated {
- tasks.withType(JavaCompile) {
- // options.compilerArgs << "-Xlint:deprecation"
- // options.compilerArgs << "--stacktrace"
- // options.compilerArgs << "--info"
- // options.compilerArgs << "--debug"
- // options.compilerArgs << "--scan"
- options.compilerArgs << "-Xlint:unchecked"
- }
- }
- }
- dependencies {
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
- implementation 'com.google.android.material:material:1.2.1'
- implementation 'com.googlecode.libphonenumber:libphonenumber:7.0.4'
- implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- // api 'com.google.android.gms:play-services-maps:11.4.2'
- // api 'com.google.android.gms:play-services-location:11.4.2'
- api project(':RAUtilsLibrary')
- api project(':RALocationLib')
- implementation files('libs/zip4j_1.3.2.jar')
- }
|