Last active
April 1, 2021 20:42
-
-
Save igouss/cd91d46d1990bfed011adaecfe331cf4 to your computer and use it in GitHub Desktop.
Project local maven repo in gradle, load jars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jars were exported with https://gist.github.com/igouss/be06fa12cb757b26e275a57b4dcfbd6d
and were copied from ~/.m2/repository/com/xmatters