Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't have the version number #17

Open
AmaliaMV opened this issue Jan 3, 2019 · 2 comments
Open

Plugin doesn't have the version number #17

AmaliaMV opened this issue Jan 3, 2019 · 2 comments

Comments

@AmaliaMV
Copy link

AmaliaMV commented Jan 3, 2019

Steps to Reproduce

  1. Clone the project: https://github.com/grails-guides/grails-multi-project-build.git
  2. Run the project inside the folder complete
  3. Go to main page and click the Installed Plugin dropbox.

Expected Behaviour

I will expect that the custom plugin will have the version number which is in complete/plugin/build.gradle file.

Actual Behaviour

The custom plugin doens't have a version number, the version is "unspecified".

image

grails-plugin.xml said:

 <plugin name='grailsPlugin' version='unspecified' grailsVersion='3.2.9 &gt; *'> 

Only the name of the file has the version number.

image

Environment Information

  • Operating System: Fedora 28
  • Grails Version: 3.3.1
  • JDK Version: 1.8.0_144

Example Application

@jeffscottbrown jeffscottbrown transferred this issue from grails/grails-core Jan 3, 2019
@bruno-lopes
Copy link

Any news on this? Same problem here, Grails version 3.3.9

@bruno-lopes
Copy link

I was able to resolve this adding the ext block:

    if (isGrailsProject) {
        ext {
            setVersion(appVersion)
        }

@sdelamo sdelamo removed their assignment Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants