Quick start
Start using this plugin before learning the base configurationGradle
that can be moved toentry - Gradle basic startup, this plugin is mainly used to simplifysetting.gradle
andbuild.gradle
Configuration
setting.gradle Configuration
Addspub.ihub.plugin.ihub-settings
plugins that provide common plugin repository configuration and multiple project configurations, seedocument for details:
plugins {
id("pub.ihub.plugin.ihub-settings") version "1.6.2"
}
plugins {
id 'pub.ihub.plugin.ihub-settings' version '1.6.2'
}
build.gradle configuration
Addingpub.ihub.plugin
Basic plugins that provide common component repository configuration and integration of some other extension, seedocument, in addition to some other plugins,Plugins Set
Instructions for each plugin:
plugins {
id("pub.ihub.plugin")
}
plugins {
id 'pub.ihub.plugin'
}
Additional:ihub-setup
plugins are not required. If your project does not require multiple project configurations, you can directly introducepub.ihub.plugin
plugins and note the need to set version number (ihub-settings plugins
plugins inauto configure version size) and configure the following:
plugins {
id("pub.ihub.plugin") version "${ihub.plugin.version}"
}
plugins {
id 'pub.ihub.plugin' version '${ihub.plugin.version}'
}