| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- apply plugin: 'com.android.library'
- android {
- compileSdk 34
- defaultConfig {
- minSdk 28
- // applicationId "com.usai.redant.rautils"
- targetSdkVersion 34
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- // minifyEnabled true
- // 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) {
- options.compilerArgs << "-Xlint:deprecation"
- options.compilerArgs << "-Xlint:unchecked"
- }
- }
- }
- dependencies {
- implementation 'com.google.android.material:material:1.8.0'
- implementation 'com.google.mlkit:barcode-scanning:17.2.0'
- implementation 'com.google.mlkit:camera:16.0.0-beta3'
- implementation 'com.google.guava:guava:32.1.3-jre'
- implementation "androidx.lifecycle:lifecycle-livedata:2.6.1"
- implementation "androidx.lifecycle:lifecycle-viewmodel:2.6.1"
- implementation 'androidx.appcompat:appcompat:1.6.1'
- // 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'
- // CameraX
- implementation "androidx.camera:camera-camera2:1.3.0-alpha05"
- implementation "androidx.camera:camera-lifecycle:1.3.0-alpha05"
- implementation "androidx.camera:camera-view:1.3.0-alpha05"
- implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
- }
|