buildship

Eclipse : How to set env variables for Gradle run

不羁的心 提交于 2021-01-27 17:13:33
问题 I am using the buildship plugin to build gradle projects. I need to use some env variables in my build script to connect to some external repositories. When i run the gradle build from command line, it works fine as I have the required env variables. I would like to run the build from eclipse. I do not see an Environment tab in the run configuration window. How do i set env variables for gradle build in eclipse? Here is where i need the env variables repositories { mavenCentral() maven { def

How to fix “Missing Gradle project configuration file” issue in Buildship?

末鹿安然 提交于 2020-03-17 05:10:37
问题 As an Eclipse user, I always liked the Gradle IDE. However, this plugin is now deprecated in favor of the new Buildship plugin. After setting up a fresh Eclipse IDE with Buildship installed, I'm faced with the following error in all my Gradle projects: missing gradle project configuration file: .settings/org.eclipse.buildship.core.prefs There are several pages on google that deal with this issue, but all of them seem pretty outdated. There is also an entry in the bugtracker of the plugin

How to make Gradle add Lombok to its Project and external dependencies libraries?

大憨熊 提交于 2019-12-24 00:38:42
问题 I created a Java project in Eclipse Neon. I used Buildship 1.0.21 to import the project as a Gradle project and ran the wrapper and init commands to generate the build, settings and wrapper files. The project has an empty source folder because I am trying to solve a similar problem on a more complicated project and taking the divide and conquer approach - just add Lombok dependency. Here is my build.gradle as instructed on the lombok website: apply plugin: 'java' dependencies { compileOnly

Spring Tool Suite not possible to create new project with Gradle: Can not import using Gradle (STS) because STS Gradle Tooling is not installed

杀马特。学长 韩版系。学妹 提交于 2019-12-20 06:37:29
问题 I'm using the Spring Tool Suite: Version: 3.9.0.RELEASE Build Id: 201707061903 Platform: Eclipse Neon.3 (4.6.3) And the Gradle plugin installed: Buildship: Eclipse Plug-ins for Gradle 2.1.1.v20170713-0942 org.eclipse.buildship.feature.group Eclipse Buildship I'm trying to create a new Spring Starter Project, but I've this message when I select the type "Gradle (Buildship 1.x)" or "Gradle (Buildship 2.x)" or "Gradle (STS)" Can not import using Gradle (Buildship 2.x) because Buildship Gradle