Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Solved] [1.15.2] gradlew genEclipseRuns : Task has not declared any outputs despite executing actions

Featured Replies

Posted

I am trying to setup Eclipse workspace for Random Patches (Branch 1.15) . Whenever I try to use the gradlew genEclipseRuns commands, it gives me a Build Fail error.

 

D:\jeux\Minecraft\ModdingForge\RandomPatches>gradlew genEclipseRuns
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.0.1_mapped_snapshot_20200126-1.15.1_at_62f112c8fc084e73d6fc4f718aa6c1bb62046881

> Task :genEclipseRuns FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':genEclipseRuns'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 16s
8 actionable tasks: 7 executed, 1 up-to-date

D:\jeux\Minecraft\ModdingForge\RandomPatches>

 

In attachment there the output of gradlew genEclipseRuns --info --stacktrace 1> output.log 2>&1

 

 

 

output.log

Edited by Naheulf
Solved

  • Author

Fixed ! The following line was missing from the build.gradle file

apply plugin: 'eclipse'

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.