diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 4e5fb88aee8c360e87aad8fc31d0706cac8b2c95..76069634a59d32b72824f896afe91670932ef5cb 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -2,8 +2,11 @@
 dependencies {
 
   // NSHMP
-  // implementation files('../nshmp-lib/build/libs/nshmp-lib.jar')
-  implementation "ghsc:nshmp-lib:${nshmpLibVersion}"
+  if (System.getenv('NSHMP_LIB_LOCAL') == 'true') {
+    implementation files('../nshmp-lib/build/libs/nshmp-lib.jar')
+  } else {
+    implementation "ghsc:nshmp-lib:${nshmpLibVersion}"
+  }
   implementation "ghsc:nshmp-ws-utils:${nshmpWsUtilsVersion}"
 
   // AWS