maoruibin / maoruibin/maoruibin.github.com
修改已生成的 POM 文件
Open
Nobody has claimed this yet.
gradle
- Dominant language
- HTML
- Stars
- 22
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
//https://discuss.gradle.org/t/dependency-in-a-custom-configuration-is-not-being-added-to-the-pom/7245
//追加 EventBus 的依赖
pom.withXml {
def node = asNode().appendNode( 'dependencies').appendNode( 'dependency' )
node.appendNode( 'groupId', 'org.greenrobot' )
node.appendNode( 'artifactId', 'eventbus' )
node.appendNode( 'version', "${libs.eventbus}" )
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the Groovy snippet in the issue and locate the build configuration that generates the POM. Determine the intended change to the generated dependencies and verify the resulting POM, since the issue does not name a file, test, or completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100