Gradle Plugin Migration Guide
This guide entails step-by-step process to migrate from in.juspay:hypersdk-asset-plugin:1.0.3 to in.juspay:hypersdk.plugin:2.0.7
Step 1: Change Maven URL in buildscript > repositories section:
Existing
maven { url "https://maven.juspay.in/jp-build-packages/hypersdk-asset-download/releases/" }
Change to
maven { url "https://maven.juspay.in/jp-build-packages/hyper-sdk/" }
Step 2: Change the classpath dependency in the buildscript > dependencies section:
Existing
classpath 'in.juspay:hypersdk-asset-plugin:1.0.3'
Change to
classpath 'in.juspay:hypersdk.plugin:2.0.7'
Step 3: Change the plugin name in your app’s build.gradle:
Existing
apply plugin: 'hypersdk-asset-plugin'
Change to
apply plugin: 'hypersdk.plugin'
Step 4: Remove all the SDK implementations (whichever applicable) from your build.gradle’s dependencies section (versions are illustrative):
implementation 'in.juspay:hypersdk:2.1.20'
implementation 'in.juspay:hyperupi:2.1.20'
This will be taken care of by the upgraded Hyper SDK plugin, ensuring that the same version is used across all micro SDKs.
Step 5: Remove MerchantConfig.txt and add this snippet below the dependencies block in your app’s build.gradle (same file as Step-3):
hyperSdkPlugin {
clientId = "<clientId>"
sdkVersion = "2.1.25"
}
This is the same clientId present earlier in the MerchantConfig.txt file.

