Build error with Network is unreachable and page not found

Hi
Thanks for the support.

I am trying to build using gradle and getting the following error.
I searched for this particular issue but dint find one so posting it,
Below is the issue. Request you to please provide me some pointers to it

satish@block:/home/rsa/IntelRackScaleArchitecture-master/RSA-SW/PODM$ gradle buildDeb
Build version: 0.99

FAILURE: Build failed with an exception.

_ Where:_*
Build file ‘/home/rsa/IntelRackScaleArchitecture-master/RSA-SW/PODM/pod-manager/build.gradle’ line: 18

_ What went wrong:*
Error resolving plugin [id: ‘nebula.os-package’, version: ‘2.2.2’]
**
> Could not GET ‘https://plugins.gradle.org/api/gradle/2.4/plugin/use/nebula.os-package/2.2.2’.**
**
> Network is unreachable_**

_ Try:_*
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 15.376 secs
satish@block:/home/rsa/IntelRackScaleArchitecture-master/RSA-SW/PODM$

If I manually go to this site via browser "https://plugins.gradle.org/m2"
I can see this that it says “Page Not Found”