在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):nebula-plugins/gradle-info-plugin开源软件地址(OpenSource Url):https://github.com/nebula-plugins/gradle-info-plugin开源编程语言(OpenSource Language):Groovy 98.2%开源软件介绍(OpenSource Introduction):Gradle Info PluginNoninvasively collect information about the environment, and make information available to other plugins in a statically typed way. When possible lazily calculate info. The module is made of three types of plugins.
Both the Collectors and Reporters know about the broker. info Plugin
Uber plugin that applies all other plugins. Since each one is relatively safe to run, this is the recommended plugin to apply. info-broker Plugin (Broker)
This would leave an empty broker around for other plugins to play with. info-jar Plugin (Reporter)
Pumps all values from the broker into the manifest of all jar's being built. info-props Plugin (Reporter)
Creates a property files with broker's values, defaults to "manifest/${baseConvention.archivesBaseName}.properties". Uses InfoPropertiesFile task to create file. info-jar-props Plugin (Reporter)
Leverages info-props to create a file, which this plugin then puts into the META-INF of all jars. info-basic Plugin (Collector)
Provides some basic values relavant to the Gradle build, e.g. build status. info-java Plugin (Collector)
Reports on the version of Java being used, and compatibility version if the Java plugin is being used. info-ci Plugin (Collector)
Detects the current Continuous Integration environment and reports upon Job Name and Build Number. Currently supports CircleCI, Cirrus CI, Drone, GitLab CI, Travis CI, and Jenkins. info-dependencies Plugin (Collector)
Reports on selected binary module versions (including transitives) of configurations that are resolved. info-scm Plugin (Collector)
Detects the current source control being used and reports upon the repository and where in the source the project is. Git and Perforce are currently supported. Since real java libraries are used to determine these values but we don't want to pollute too many people with Perforce, all the plugin implementations are optional. You'll have to add a dependency to your specific SCM implementation. Technically, these are not optional right now, but they will be in the future.
info-owners (Collector)
Collects "owners" and "notify" users and inject them as 'Module-Owner' and 'Module-Email', respectively. The values come from the gradle-contacts plugin.
The above will make sure the manifest contains a Module-Owner of [email protected]. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论