Skip to content

Commit

Permalink
Remove looking at the local maven folder.
Browse files Browse the repository at this point in the history
If you want to test the installer, pack your deps.
  • Loading branch information
LexManos committed Nov 8, 2023
1 parent ac6f9be commit 74183eb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencyResolutionManagement {
libs {
library('gson', 'com.google.code.gson:gson:2.10.1')
library('jopt-simple', 'net.sf.jopt-simple:jopt-simple:6.0-alpha-3')
library('proguard', 'com.guardsquare:proguard-base:7.4.0')

version('junit', '5.10.1')
library('junit-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ protected void error(String message) {

protected boolean downloadLibraries(File librariesDir, Predicate<String> optionals, List<File> additionalLibDirs) throws ActionCanceledException {
monitor.start("Downloading libraries");
String userHome = System.getProperty("user.home");
if (userHome != null && !userHome.isEmpty()) {
File mavenLocalHome = new File(userHome, ".m2/repository");
if (mavenLocalHome.exists()) {
additionalLibDirs.add(mavenLocalHome);
}
}
monitor.message(String.format("Found %d additional library directories", additionalLibDirs.size()));

List<Library> libraries = new ArrayList<>();
Expand Down

0 comments on commit 74183eb

Please sign in to comment.