-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40066 from phillip-kruger/webjar-relocation
Rename webjars-locator to web-dependency-locator
- Loading branch information
Showing
33 changed files
with
295 additions
and
208 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
...ocator/deployment/ImportMapBuildItem.java → ...ocator/deployment/ImportMapBuildItem.java
This file contains 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
6 changes: 3 additions & 3 deletions
6
...cator/deployment/WebJarLocatorConfig.java → ...eployment/WebDependencyLocatorConfig.java
This file contains 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
This file contains 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
This file contains 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
23 changes: 23 additions & 0 deletions
23
...va/io/quarkus/webdependency/locator/deployment/devui/WebDependencyLibrariesBuildItem.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package io.quarkus.webdependency.locator.deployment.devui; | ||
|
||
import java.util.List; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
public final class WebDependencyLibrariesBuildItem extends MultiBuildItem { | ||
private final String provider; | ||
private final List<WebDependencyLibrary> webDependencyLibraries; | ||
|
||
public WebDependencyLibrariesBuildItem(String provider, List<WebDependencyLibrary> webDependencyLibraries) { | ||
this.provider = provider; | ||
this.webDependencyLibraries = webDependencyLibraries; | ||
} | ||
|
||
public List<WebDependencyLibrary> getWebDependencyLibraries() { | ||
return this.webDependencyLibraries; | ||
} | ||
|
||
public String getProvider() { | ||
return this.provider; | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...src/main/java/io/quarkus/webdependency/locator/deployment/devui/WebDependencyLibrary.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package io.quarkus.webdependency.locator.deployment.devui; | ||
|
||
public class WebDependencyLibrary { | ||
|
||
private final String webDependencyName; | ||
private String version; | ||
private WebDependencyAsset rootAsset; // must be a list to work with vaadin-grid | ||
|
||
public WebDependencyLibrary(String webDependencyName) { | ||
this.webDependencyName = webDependencyName; | ||
} | ||
|
||
public String getWebDependencyName() { | ||
return webDependencyName; | ||
} | ||
|
||
public String getVersion() { | ||
return version; | ||
} | ||
|
||
public void setVersion(String version) { | ||
this.version = version; | ||
} | ||
|
||
public WebDependencyAsset getRootAsset() { | ||
return rootAsset; | ||
} | ||
|
||
public void setRootAsset(WebDependencyAsset rootAsset) { | ||
this.rootAsset = rootAsset; | ||
} | ||
} |
Oops, something went wrong.