p-hatan/ mirror

Developer infrastructure

mirror.p-hatan.com

Dependencies,
within reach.

Explore your packages. Bring the files you need into Iran. Know what is ready before the next build.

Your build→Domestic cache→Upstream

Point your tools here

Flutter & Dart
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
export FLUTTER_STORAGE_BASE_URL=https://storage.mirror.p-hatan.com

Android 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.com") }
// Also add the repository inside pluginManagement.repositories

# gradle-wrapper.properties: replace <version> with your pinned version
distributionUrl=https\://gradle.mirror.p-hatan.com/distributions/gradle-<version>-bin.zip

Keep 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.com/'

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 analysis

Choose a lockfile or captured artifact manifest. Analysis reports missing and unsupported dependencies; downloads start only when you choose prewarming.