Dhaval2404 / ImagePicker

📸Image Picker for Android, Pick an image from Gallery or Capture a new image with Camera
Apache License 2.0
1.52k stars 339 forks source link

Failed to resolve: com.github.Drjacky:ImagePicker:v2.1 Show in Project Structure dialog Affected Modules: app #300

Open RajnishA1 opened 2 years ago

RajnishA1 commented 2 years ago

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript { repositories { google() maven { url 'https://jitpack.io' } jcenter()

}
dependencies {
    classpath "com.android.tools.build:gradle:7.1.3"

}

} allprojects { repositories { google() mavenCentral() maven { url 'https://jitpack.io' } jcenter() // Warning: this repository is going to shut down soon

}

}

task clean(type: Delete) { delete rootProject.buildDir }

/// Setting.gradle

import org.gradle.api.initialization.resolve.RepositoriesMode

pluginManagement { repositories { gradlePluginPortal() google() mavenCentral() maven { url "https://jitpack.io" } jcenter() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) repositories { google() mavenCentral() gradlePluginPortal() maven { url "https://jitpack.io" } jcenter()

}

} rootProject.name = "Csp All In One Print" include ':app'