Package com.teamdev.jxbrowser.gradle
Class DepsPlugin
java.lang.Object
com.teamdev.jxbrowser.gradle.DepsPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
A plugin that configures JxBrowser repository and helps with dependencies.
Usage example:
dependencies {
implementation(jxbrowser.swing())
implementation(jxbrowser.currentPlatform())
}
jxbrowser {
version = "7.21.2"
// Use JxBrowser repository at specific location. It's the US by default.
repositoryLocation = JxBrowserRepository.US
// Or use your custom repository. If set, this field is preferred.
repositoryUrl = "https://my.custom.repository"
// Include JxBrowser EAP repository.
includePreviewBuilds()
}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EAP_REPOSITORY
- See Also:
-
-
Constructor Details
-
DepsPlugin
public DepsPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-