Skip to content

Instantly share code, notes, and snippets.

@igouss
Last active April 1, 2021 20:42
Show Gist options
  • Save igouss/cd91d46d1990bfed011adaecfe331cf4 to your computer and use it in GitHub Desktop.
Save igouss/cd91d46d1990bfed011adaecfe331cf4 to your computer and use it in GitHub Desktop.
Project local maven repo in gradle, load jars
gradle.build
```
repositories {
maven { url "file:libs" }
maven { url "${nexus}" }
}
implementation "com.xmatters.springboot.common:exceptions:1.246.0",
```
Local maven repo:
```
❯ tree libs
libs
└── com
└── xmatters
├── springboot
│   └── common
│   └── exceptions
│   ├── 1.246.0
│   │   ├── exceptions-1.246.0.jar
│   │   └── exceptions-1.246.0.pom
│   └── maven-metadata-local.xml
```
@igouss
Copy link
Author

igouss commented Apr 1, 2021

jars were exported with https://gist.github.com/igouss/be06fa12cb757b26e275a57b4dcfbd6d
and were copied from ~/.m2/repository/com/xmatters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment