Jump to content

[1.12.2] Failed to Apply Plugin (Setup)


sean111204

Recommended Posts

I'm not entirely sure what went wrong.

I just ran gradlew setupDecompWorkspace and all it did was create an error log.

I am pretty sure my mod folder is setup correctly,

I have build.gradegradlew.batgradlew, and gradle (Folder)

I am attempting to set it up with forge 1.12.2 - 14.23.5.2768


I have tried adding org.gradle.jvmargs=-Xmx2G to grade.properties

I have also tried re-installing Java.

I am using Windows 7.


Here is the error log:

* What went wrong:
A problem occurred evaluating root project 'MyMod'.
> Failed to apply plugin [class 'org.gradle.api.plugins.JavaBasePlugin']
   > Could not create plugin of type 'JavaBasePlugin'.

 

If anyone knows what I did wrong, it would be very helpful if you let me know.

Thank you for your time.

Link to comment
Share on other sites

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Mods\MyMod\build.gradle' line: 10

* What went wrong:
A problem occurred evaluating root project 'MyMod'.
> Failed to apply plugin [class 'org.gradle.api.plugins.JavaBasePlugin']
   > Could not create plugin of type 'JavaBasePlugin'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to
get more log output.

BUILD FAILED

Total time: 28.495 secs
Received result Failure[value=org.gradle.initialization.ReportedException: org.g
radle.internal.exceptions.LocationAwareException: Build file 'C:\Mods\MyMod\buil
d.gradle' line: 10
A problem occurred evaluating root project 'MyMod'.] from daemon DaemonInfo{pid=
6744, address=[5002620f-16db-41b7-934e-d386f4087f14 port:56758, addresses:[/127.
0.0.1, /0:0:0:0:0:0:0:1]], idle=false, lastBusy=1558747747350, context=DefaultDa
emonContext[uid=7abefa29-532e-493b-953c-9e18cc35df1b,javaHome=C:\Program Files\J
ava\jdk1.8.0_131,daemonRegistryDir=C:\Users\Sean\.gradle\daemon,pid=6744,idleTim
eout=120000,daemonOpts=-Xmx2G,-Dfile.encoding=windows-1252,-Duser.country=US,-Du
ser.language=en,-Duser.variant]} (build should be done).

Here you go

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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