nagendra547
nagendra547

Reputation: 6330

Issue while importing gradle project in eclipse

I am facing import issue while importing the gradle project in eclipse. In my build.gradle file there is below entry for environment variable.

buildscript {
    // Usually, the ext in gradle build script is used to define constants.
    ext {
        springBootVersion = "1.3.3.RELEASE"
        ENV = System.getenv()
        platformJar = ENV["skyfall_sdk"]
        generatedDocumentation = file('src/docs/asciidoc/generated')
    }

How to set environment variables in eclipse to provide value for "skyfall_sdk", so import is successful?

Upvotes: 1

Views: 226

Answers (1)

Latsuj
Latsuj

Reputation: 479

For setting an environment variable in Eclipse, follow this :

In the menu "Run" -> "Run Configuration" -> Then click on your compilator and in the new window, you can select "Environment".

enter image description here

Then you select "New..." and make a variable for "skyfall_sdk".

Upvotes: 1

Related Questions