Developer infrastructure
mirror.p-hatan.irDependencies,
within reach.
Explore your packages. Bring the files you need into Iran. Know what is ready before the next build.
Point your tools here
Flutter & Dartexport PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
export FLUTTER_STORAGE_BASE_URL=https://storage.mirror.p-hatan.irAndroid builds also need the Maven repository and Gradle distribution settings below.
Maven and Gradle setup
// Add to settings.gradle.kts dependencyResolutionManagement.repositories
maven { url = uri("https://maven.mirror.p-hatan.ir") }
// Also add the repository inside pluginManagement.repositories
# gradle-wrapper.properties: replace <version> with your pinned version
distributionUrl=https\://gradle.mirror.p-hatan.ir/distributions/gradle-<version>-bin.zipKeep your existing repository policy. Projects using FAIL_ON_PROJECT_REPOS must configure repositories in settings rather than a global allprojects hook.
CocoaPods setup and lockfile migration
source 'https://cocoapods.mirror.p-hatan.ir/'Adopting this source or changing mirror domains rewrites HTTP source URLs and changes podspec checksums. Run a controlled pod install while online, review the lockfile changes, and use that lockfile for later deployment installs. Git-based Pods need a separate source strategy.
Check your dependency coverage
Local analysisChoose a lockfile or captured artifact manifest. Analysis reports missing and unsupported dependencies; downloads start only when you choose prewarming.