tomtom-international / updatechangelog-gradle-plugin

Gradle plugin for automating Changelog update process.
Apache License 2.0
3 stars 1 forks source link

build: Support plugins DSL #3

Closed Anatolii closed 5 years ago

Anatolii commented 5 years ago

Currently plugin publishes only main artifact: com.tomtom.gradle:updatechangelog-plugin:<version> But in order to be able to utilize plugins DSL one more artifact should be published: com.tomtom.gradle.updatechangelog:com.tomtom.gradle.updatechangelog.gradle.plugin:<version>. This artifact will have dependency on the main plugin artifact and will not contain anything but .pom file. When Gradle tries to resolve Plugin artifact from provided ID, it constructs it in next way: <pluginID>:<pluginID>.gradle.plugin:<version> by default.

The java-gradle-plugin is used to define information about the updatechangelog plugin publication. It also creates two Maven publications, which satisfy requirements above. One of them is copy of mavenJava, which is deleted with changes in this PR. Maven publications use project's group name by default, so the name was specified to the project scope.

TravisBuddy commented 5 years ago

Hey @Anatolii, Something went wrong with the build.

TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.

View build log

TravisBuddy Request Identifier: 38bcba70-8fa1-11e9-b69a-57a176dcbff9
TravisBuddy commented 5 years ago

Hey @Anatolii,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: 2b560120-8fb5-11e9-b69a-57a176dcbff9
TravisBuddy commented 5 years ago

Hey @Anatolii,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: a724e170-8fb7-11e9-b69a-57a176dcbff9
TravisBuddy commented 5 years ago

Hey @Anatolii,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: d83fe640-920c-11e9-85c1-c973da5f987f