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

Can't use project variable in project definition #353

Open
glaforge opened this issue Jul 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@glaforge
Copy link

commented Jul 4, 2019

Because of this line to suggest users to upgrade their gradle build to use projectId instead of project, it's impossible to do the following:

appengine {
    stage.artifact = "${buildDir}/libs/${project.name}-${project.version}-all.jar"
    deploy {
        projectId = project.name
        version = project.version.replaceAll('.', '_')
    }
}

In stage.artifact I can use ${project.name} without a problem.
But in the deploy section, I can't use Gradle's project variable because you override the getProject() method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.