- Notifications
You must be signed in to change notification settings - Fork13
A set of Gradle plugins that greatly simplify project management / 一套极大简化项目管理的Gradle插件集
License
NotificationsYou must be signed in to change notification settings
ihub-pub/plugins
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
IHub Plugins是一套为Gradle项目提供基础设施的插件集,可以极大简化项目配置。包含插件如下:
| 项目目录 | 插件ID | 插件名称 | 插件类型 | 插件描述 |
| ihub-settings | pub.ihub.plugin.ihub-settings | 设置插件 | Settings | 插件仓库、插件版本以及子项目管理 |
| ihub-plugins | pub.ihub.plugin | 基础插件 | Project | 基础插件,用于配置组件仓库以及一些其他扩展属性 |
| pub.ihub.plugin.ihub-version | 版本插件 | Project | 集成并加强ben-manes.versions插件 | |
| pub.ihub.plugin.ihub-copyright | 版权插件 | Project | 自动配置IDEA版权信息 | |
| pub.ihub.plugin.ihub-profiles | 配置文件插件 | Project | Gradle版本 Maven POM Profiles | |
| ihub-bom | pub.ihub.plugin.ihub-bom | Bom插件 | Project | 配置项目依赖组件版本以及兼容性管理 |
| ihub-java | pub.ihub.plugin.ihub-java | Java插件 | Project | 集成Java相关插件环境、配置一些默认依赖以及兼容性配置 |
| ihub-groovy | pub.ihub.plugin.ihub-groovy | Groovy插件 | Project | 集成Groovy相关插件环境以及配置Groovy默认组件依赖 |
| ihub-kotlin | pub.ihub.plugin.ihub-kotlin | Kotlin插件 | Project | 集成Kotlin相关插件环境 |
| ihub-publish | pub.ihub.plugin.ihub-publish | 发布插件 | Project | 集成组件发布相关插件环境,配置发布仓库以及其他默认配置 |
| ihub-verification | pub.ihub.plugin.ihub-test | 测试插件 | Project | 配置测试任务 |
| pub.ihub.plugin.ihub-verification | 验证插件 | Project | 配置代码静态检查以及测试用例覆盖率等 | |
| ihub-spring | pub.ihub.plugin.ihub-boot | Boot插件 | Project | 集成spring-boot插件以及镜像默认配置 |
| pub.ihub.plugin.ihub-native | Native插件 | Project | 基于ihub-boot扩展引入org.graalvm.buildtools.native插件 | |
| ihub-shadow | pub.ihub.plugin.ihub-shadow | Shadow插件 | Project | 集成Shadow 插件 |
| ihub-javaagent | pub.ihub.plugin.ihub-javaagent | Javaagent插件 | Project | 集成Javaagent 插件 |
| ihub-git-hooks | pub.ihub.plugin.ihub-git-hooks | GitHooks插件 | Project | 配置GitHooks,可以为git操作配置一些钩子命令 |
| ihub-node | pub.ihub.plugin.ihub-node | Node.js插件 | Project | 集成node-gradle 插件,扩展支持 cnmp |
在你的项目的
build.gradle文件中添加以下内容:
plugins { id'pub.ihub.plugin' version'${ihub.plugin.version}'}在你的项目的
gradle.properties文件中可以添加如下配置:
# 是否启用本地仓库iHub.mavenLocalEnabled=true# 是否启用阿里云代理仓库iHub.mavenAliYunEnabled=true
Gradle构建时会自动配置本地仓库以及阿里云代理仓库,控制台将会打印如下文本:
┌──────────────────────────────────────────────────────────────────────────────────────────────────┐│ Gradle Project Repos │├──────────────────────────────────────────────────────────────────────────────────────────────────┤│ MavenLocal(file:/C:/Users/Henry/.m2/repository/) ││ AliYunPublic(https://maven.aliyun.com/repository/public) ││ MavenRepo │└──────────────────────────────────────────────────────────────────────────────────────────────────┘更多使用方式参见快速上手
详细版本历史见Releases,兼容性版本说明如下:
| Version | Java | Gradle |
|---|---|---|
| 1.9.1+ | 17~25 | 9.1.0 |
| 1.9.0 | 17~24 | 9.0.0 |
| 1.7.6+ | 17~23 | 8.13 |
| 1.7.2+ | 17~23 | 8.4 |
| 1.5.6+ | 17~21 | 8.0 |
| 1.5.0+ | 11~21 | 8.0 |
| 1.4.0+ | 8~20 | 8.0 |
| 1.3.1+ | 17 | 8.0 |
| 1.3.0 | 17 | 7.5.1 |
| 1.2.4+ | 11 | 7.4.1 |
请阅读贡献指南 为该项目做出贡献
About
A set of Gradle plugins that greatly simplify project management / 一套极大简化项目管理的Gradle插件集
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors10
Uh oh!
There was an error while loading.Please reload this page.