| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- apply plugin: 'com.android.library'
- android {
- compileSdk = 36
- defaultConfig {
- minSdk = 28
- // applicationId "com.usai.redant.rautils"
- targetSdk = 36
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- // zipAlignEnabled true
- // shrinkResources true
- // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
- }
- }
- namespace = 'com.usai.redant.rautils'
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_11
- targetCompatibility JavaVersion.VERSION_11
- }
- // 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).tap {
- configureEach {
- options.compilerArgs << "-Xlint:deprecation"
- options.compilerArgs << "-Xlint:unchecked"
- }
- }
- }
- }
- dependencies {
- api 'androidx.work:work-runtime:2.9.1'
- implementation 'com.google.android.material:material:1.12.0'
- implementation 'com.google.mlkit:barcode-scanning:17.3.0'
- implementation 'com.google.mlkit:camera:16.0.0-beta3'
- // implementation 'com.google.guava:guava:32.1.3-jre'
- implementation 'com.google.guava:guava:33.4.8-jre'
- implementation "androidx.lifecycle:lifecycle-livedata:2.8.4"
- implementation "androidx.lifecycle:lifecycle-viewmodel:2.8.4"
- implementation 'androidx.appcompat:appcompat:1.7.0'
- // testImplementation 'junit:junit:4.12'
- // androidTestImplementation 'com.android.support.test:runner:1.0.2'
- // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
- api files('libs/bcprov-jdk15on-157.jar')
- api files('libs/httpmime-4.1.1.jar')
- api files('libs/core-2.3.0.jar')
- // api 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
- // implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
- // CameraX
- implementation "androidx.camera:camera-camera2:1.4.0-rc01"
- implementation "androidx.camera:camera-lifecycle:1.4.0-rc01"
- implementation "androidx.camera:camera-view:1.4.0-rc01"
- // implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
- implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.22"))
- implementation 'androidx.activity:activity:1.8.0'
- }
|