Skip to content

Commit

Permalink
Revert "artifacts named '*.jar' should not be treated as modules."
Browse files Browse the repository at this point in the history
This reverts commit f8e3445.
  • Loading branch information
xael-fry committed Nov 4, 2014
1 parent e0b3bbb commit 7fe8577
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions framework/src/play/deps/DependenciesManager.java
Expand Up @@ -302,11 +302,7 @@ private boolean isFrameworkLocal(ArtifactDownloadReport artifact) throws Excepti
}

private boolean isPlayModule(ArtifactDownloadReport artifact) throws Exception {
String name = artifact.getLocalFile().getName();
if (name.endsWith(".jar")) {
return false;
}
boolean isPlayModule = name.endsWith(".zip");
boolean isPlayModule = artifact.getLocalFile().getName().endsWith(".zip");
if (!isPlayModule) {
// Check again from origin location
if (!artifact.getArtifactOrigin().isLocal() && artifact.getArtifactOrigin().getLocation().endsWith(".zip")) {
Expand Down

0 comments on commit 7fe8577

Please sign in to comment.