vivin / gradle-semantic-build-versioning

Gradle plugin to generate version-numbers and tags using semantic versioning
MIT License
85 stars 32 forks source link

Adding the plugin to an existing gradle project #82

Closed BadrJbai closed 6 years ago

BadrJbai commented 6 years ago
vivin commented 6 years ago

Check out README. This is a settings plugin and so should be used within settings.gradle; not build.gradle.

BadrJbai commented 6 years ago

Hi Vivin,

The snippet I pasted was from settings. Grade.

Sincerely,

On Oct 12, 2017 4:22 PM, "Vivin Paliath" notifications@github.com wrote:

Check out README https://github.com/vivin/gradle-semantic-build-versioning/blob/master/README.md. This is a settings plugin and so should be used within settings.gradle; not build.gradle.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vivin/gradle-semantic-build-versioning/issues/82#issuecomment-336254834, or mute the thread https://github.com/notifications/unsubscribe-auth/AQeu6kt4tjwBcozp1lKVsrOAdNN0GqRiks5srnUIgaJpZM4P3fCB .

vivin commented 6 years ago

@BadrJbai Can you paste your settings.gradle please?

BadrJbai commented 6 years ago

Hi Vivin,

I sent you an email.

Many thanks,

On Thu, Oct 12, 2017 at 4:54 PM, Vivin Paliath notifications@github.com wrote:

@BadrJbai https://github.com/badrjbai Can you paste your settings.gradle please?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vivin/gradle-semantic-build-versioning/issues/82#issuecomment-336263899, or mute the thread https://github.com/notifications/unsubscribe-auth/AQeu6s3q1WKgVxAB2goD16Z6Zv8xYzUuks5srnyIgaJpZM4P3fCB .

-- *Badr Jbaï, University of Ottawa, Computer *Engineering Graduate Student .

vivin commented 6 years ago

@BadrJbai

Nothing in the settings.gradle you sent especially stands out. Although, I did notice that you had buildscript block with the plugin repository and classpath dependency inside a gradle.allprojects block. Can you try pulling that out to the top level of your settings.gradle (basically, make the plugin configuration look exactly like it does in the documentation)? Perhaps putting that inside gradle.allprojects is affecting it somehow.

The error message suggests that the plugin is being applied to a project, so something is causing that to happen.

vivin commented 6 years ago

@BadrJbai Did that work?

BadrJbai commented 6 years ago

Hey Vivin,

Something came up at work. i have not got back it hopefully this week at work. I will get back to you if the plugin integration worked with my project.

Cheers,

On Sun, Oct 15, 2017 at 4:59 PM, Vivin Paliath notifications@github.com wrote:

@BadrJbai https://github.com/badrjbai Did that work?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vivin/gradle-semantic-build-versioning/issues/82#issuecomment-336741156, or mute the thread https://github.com/notifications/unsubscribe-auth/AQeu6lHUtqb6iSXzUtI4JlTL3zyeN-wKks5ssnIugaJpZM4P3fCB

BadrJbai commented 6 years ago

Hi Vivin,

Our Gradle wrapper is using 3.5. Do you think we have an issue there?

Many thanks,

On Oct 15, 2017 5:06 PM, "Badr Jbaï" badrjbai@gmail.com wrote:

Hey Vivin,

Something cam up at work. i have not got back it hopefully this week at work. I will get back to you if the plugin integration worked with my project.

Cheers,

On Sun, Oct 15, 2017 at 4:59 PM, Vivin Paliath notifications@github.com wrote:

@BadrJbai https://github.com/badrjbai Did that work?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vivin/gradle-semantic-build-versioning/issues/82#issuecomment-336741156, or mute the thread https://github.com/notifications/unsubscribe-auth/AQeu6lHUtqb6iSXzUtI4JlTL3zyeN-wKks5ssnIugaJpZM4P3fCB .

-- *Badr Jbaï, University of Ottawa, Computer *Engineering Graduate Student .

vivin commented 6 years ago

@BadrJbai Not sure... I don't think there should be a problem... Did you try what I suggested above to see if that fixes it?

BadrJbai commented 6 years ago

Working on it tomorrow and next week ! I will keep you posted my friend 😊 Manny thanks!

On Oct 19, 2017 5:23 PM, "Vivin Paliath" notifications@github.com wrote:

@BadrJbai https://github.com/badrjbai Not sure... I don't think there should be a problem... Did you try what I suggested above to see if that fixes it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vivin/gradle-semantic-build-versioning/issues/82#issuecomment-338042188, or mute the thread https://github.com/notifications/unsubscribe-auth/AQeu6px1ctFG3bZyf14OZ7EzTvaLf32hks5st73ZgaJpZM4P3fCB .