Sir, Due to this repository { url 'http://dl.bintray.com/amulyakhare/maven' } i am facing an error because bintray is no longer in service.
On Fri, May 6, 2022 at 10:29 AM VICTOR MANUEL ROMERO RODRIGUEZ < victor.rom...@fintecheando.mx> wrote: > Hello, > > Seems that a library declared in gradle is in a private or non existing > repository. Could you please provide a txt file or maybe a paste.bin link? > > Regards > > El jue, 5 may 2022 a las 23:51, vikash kumar (<vk.vicky2...@gmail.com>) > escribió: > >> Hi, >> >> I am facing an issue on the time of build project on Android Studio and >> its showing error. >> >> Please see the attached screenshot and guide me how it will resolve this >> issue. >> >> >> >> -- >> Thanks & Regards, >> Vikash Kumar >> _______________________________________________ >> Mifos-users mailing list >> Mifos-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mifos-users >> > _______________________________________________ > Mifos-users mailing list > Mifos-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mifos-users > -- Thanks & Regards, Vikash Kumar
/* * This project is licensed under the open source MPL V2. * See https://github.com/openMF/android-client/blob/master/LICENSE.md */ buildscript { ext.kotlin_version = "1.3.31" repositories { google() mavenCentral() maven { url 'https://maven.fabric.io/public' } maven { url "https://jitpack.io" } jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.3.2' classpath 'io.fabric.tools:gradle:1.+' classpath 'com.github.triplet.gradle:play-publisher:1.1.5' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" } } repositories { google() mavenCentral() maven { url 'https://maven.fabric.io/public' } jcenter() maven { url "https://maven.google.com" } maven { url "https://jitpack.io" } maven { url 'http://dl.bintray.com/amulyakhare/maven' } } apply plugin: 'com.android.application' apply plugin: 'io.fabric' apply from: '../config/quality/quality.gradle' apply plugin: 'com.github.triplet.play' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { multiDexEnabled true minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 6 versionName "1.0.1" // A test runner provided by https://code.google.com/p/android-test-kit/ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true ndk { abiFilters "armeabi-v7a", "x86" } } dexOptions { javaMaxHeapSize "4g" } sourceSets { def commonTestDir = 'src/commonTest/java' main { java.srcDirs = ['src/main/java'] } androidTest { java.srcDirs = ['src/instrumentTest/java/'] java.srcDir commonTestDir } test { java.srcDir commonTestDir } } signingConfigs { release { storeFile file("../default_key_store.jks") storePassword "mifos1234" keyAlias "mifos" keyPassword "mifos1234" } } /*productFlavors { Keep it and the 'useProguard' attribute in the release config commented to prevent "Build-in class shrinker and multidex are not supported yet." error while enabling multidex }*/ buildTypes { debug { minifyEnabled false // TODO Uses new built-in shrinker, To Enable update buils tools to 2.2 // TODO http://tools.android.com/tech-docs/new-build-system/built-in-shrinker //useProguard false //proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' //testProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguardTest-rules.pro' } release { minifyEnabled false //useProguard false signingConfig signingConfigs.release proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' testProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguardTest-rules.pro' } } lintOptions { abortOnError false disable 'InvalidPackage' disable 'MissingTranslation' disable 'OutdatedLibrary' } // Exclude duplicated Hamcrest LICENSE.txt from being packaged into the apk. // This is a workaround for https://code.google.com/p/android/issues/detail?id=65445. // The Hamcrest is used in tests. packagingOptions { exclude 'LICENSE.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/dbflow-kotlinextensions-compileReleaseKotlin.kotlin_module' } useLibrary 'org.apache.http.legacy' // Always show the result of every unit test, even if it passes. testOptions.unitTests.all { testLogging { events 'passed', 'skipped', 'failed', 'standardOut', 'standardError' } } } task buildAndEMailAPK(type: Exec, description: 'Builds and Generates a Signed APK and emails it') { } tasks.withType(JavaCompile) { configure(options) { // TODO compilerArgs << "-Xlint:deprecation" compilerArgs << "-Xlint:-unchecked" compilerArgs << "-Xlint:-rawtypes" } } dependencies { implementation 'androidx.multidex:multidex:2.0.0' // You must install or update the Support Repository through the SDK manager to use this dependency. implementation fileTree(dir: 'src/main/libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" //DBFlow dependencies implementation 'androidx.constraintlayout:constraintlayout:1.1.3' annotationProcessor "com.github.Raizlabs.DBFlow.dbflow:dbflow-processor:3.1.1" annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:3.1.1" //annotationProcessor "com.github.Raizlabs.DBFlow.dbflow-core:dbflow-processor:$rootProject.raizLabsDBFlow" //implementation "com.github.Raizlabs.DBFlow:dbflow-core:$rootProject.raizLabsDBFlow" implementation "com.github.Raizlabs.DBFlow.dbflow:dbflow:$rootProject.raizLabsDBFlow" kapt "com.github.Raizlabs.DBFlow:dbflow-processor:3.1.1" //implementation "com.github.Raizlabs.DBFlow:dbflow:$rootProject.raizLabsDBFlow" // App's Support dependencies, including test implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.0.0' implementation 'androidx.cardview:cardview:1.0.0' implementation 'com.google.android.material:material:1.0.0' implementation "com.google.android.gms:play-services-places:$rootProject.playServicesVersion" implementation "com.google.android.gms:play-services-location:$rootProject.playServicesVersion" implementation "com.google.android.gms:play-services-maps:$rootProject.playServicesVersion" implementation "com.google.maps.android:android-maps-utils:$rootProject.mapUtilsServices" implementation 'androidx.test.espresso:espresso-idling-resource:3.1.0' //Bottom navigation implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.navigation:navigation-fragment:2.2.2' implementation 'androidx.navigation:navigation-ui:2.2.2' //Dagger dependencies annotationProcessor "com.google.dagger:dagger-compiler:$rootProject.daggerVersion" implementation "com.google.dagger:dagger:$rootProject.daggerVersion" compileOnly 'javax.annotation:jsr250-api:1.0' //Required by Dagger2 kapt "com.google.dagger:dagger-compiler:$rootProject.daggerVersion" //Butter Knife implementation "com.jakewharton:butterknife:$rootProject.butterKnifeVersion" annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.butterKnifeVersion" kapt "com.jakewharton:butterknife-compiler:$rootProject.butterKnifeVersion" //LifeCycle implementation 'androidx.lifecycle:lifecycle-runtime:2.0.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' annotationProcessor 'androidx.lifecycle:lifecycle-compiler:2.0.0' implementation 'androidx.lifecycle:lifecycle-reactivestreams:2.0.0' kapt 'androidx.lifecycle:lifecycle-compiler:2.0.0' //Square dependencies implementation("com.squareup.retrofit2:retrofit:$rootProject.retrofitVersionLatest") { // exclude Retrofit’s OkHttp peer-dependency module and define your own module import exclude module: 'okhttp' } implementation "com.squareup.retrofit2:converter-gson:$rootProject.retrofitVersionLatest" implementation "com.squareup.retrofit2:converter-scalars:$rootProject.retrofitVersionLatest" implementation "com.squareup.retrofit2:adapter-rxjava:$rootProject.retrofitVersionLatest" implementation "com.squareup.okhttp3:okhttp:$rootProject.okHttp3Version" implementation "com.squareup.okhttp3:logging-interceptor:$rootProject.okHttp3Version" implementation "com.jakewharton.fliptables:fliptables:$rootProject.flipTableVersion" implementation 'com.github.therajanmaurya:Sweet-Error:1.0.0' implementation 'javax.annotation:jsr250-api:1.0@jar' implementation 'io.reactivex:rxandroid:1.1.0' implementation 'io.reactivex:rxjava:1.1.4' implementation 'com.facebook.stetho:stetho:1.3.1' implementation 'com.facebook.stetho:stetho-okhttp3:1.3.1' implementation 'com.github.deano2390:MaterialShowcaseView:1.3.4' implementation "com.joanzapata.iconify:android-iconify-material:2.1.1" // (v2.0.0) implementation('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') { transitive = true } implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' implementation 'com.github.bumptech.glide:glide:3.7.0' //mifos passcode implementation "com.mifos.mobile:mifos-passcode:$mifosPasscodeVersion" // Android Testing Support Library's runner and rules androidTestImplementation 'androidx.test:runner:1.1.0' androidTestImplementation 'androidx.test:rules:1.1.0' // Espresso UI Testing dependencies. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' androidTestImplementation('androidx.test.espresso:espresso-contrib:3.1.0') { exclude group: 'com.android.support', module: 'appcompat' exclude group: 'com.android.support', module: 'support-v4' exclude group: 'com.android.support', module: 'recyclerview-v7' exclude group: 'com.android.support', module: 'design' } androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.0' testImplementation 'junit:junit:4.12' testImplementation 'org.mockito:mockito-core:1.10.19' //Android-Jobs implementation 'com.evernote:android-job:1.2.6' // androidx annotations implementation 'androidx.annotation:annotation:1.1.0' //card view implementation 'androidx.cardview:cardview:1.0.0' //preferences implementation "androidx.preference:preference:$preference" } /* All direct/transitive dependencies shared between your test and production APKs need to be excluded from the test APK! This is necessary because both APKs will contain the same classes. Not excluding these dependencies from your test configuration will result in an dex pre-verifier error at runtime. More info in this tools bug: (https://code.google.com/p/android/issues/detail?id=192497) */ configurations.compile.dependencies.each { compileDependency -> println "Excluding compile dependency: ${compileDependency.getName()}" configurations.androidTestCompile.dependencies.each { androidTestCompileDependency -> configurations.androidTestCompile.exclude module: "${compileDependency.getName()}" } }
_______________________________________________ Mifos-users mailing list Mifos-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mifos-users