2015-03-10 14:08:36 +00:00
|
|
|
|
### 59.10.1. 自定义Gradle,用于产生一个继承依赖管理的pom
|
|
|
|
|
|
|
|
|
|
下面示例展示了如何配置Gradle去产生一个继承自`spring-boot-starter-parent`的pom。请参考[Gradle用户指南](http://gradle.org/docs/current/userguide/userguide.html)获取更多信息。
|
|
|
|
|
```gradle
|
|
|
|
|
uploadArchives {
|
|
|
|
|
repositories {
|
|
|
|
|
mavenDeployer {
|
|
|
|
|
pom {
|
|
|
|
|
project {
|
|
|
|
|
parent {
|
|
|
|
|
groupId "org.springframework.boot"
|
|
|
|
|
artifactId "spring-boot-starter-parent"
|
|
|
|
|
version "1.3.0.BUILD-SNAPSHOT"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|