Build.gradle line 21 Error

6 posts / 0 new
Last post
Offline
Last seen: 1 year 1 week ago
Joined: 12/21/2014 - 23:30
Gems: -1
Build.gradle line 21 Error

Idk but when I wanna test this happens

>===================================================================================================================
>Executing gradle command: build
>Microsoft Windows [Version 6.3.9600]
>(c) 2013 Microsoft Corporation. All rights reserved.
>C:\Users\dustin\Desktop\IAN>cd forge
>C:\Users\dustin\Desktop\IAN\forge>SET "JAVA_HOME=C:\Users\dustin\Desktop\IAN\jdk\"
>C:\Users\dustin\Desktop\IAN\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
>C:\Users\dustin\Desktop\IAN\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
>C:\Users\dustin\Desktop\IAN\forge>gradlew build
>FAILURE: Build failed with an exception.
>* Where:
>Build file 'C:\Users\dustin\Desktop\IAN\forge\build.gradle' line: 21
>* What went wrong:
>A problem occurred evaluating root project 'forge'.
>> No such property: group for class: java.lang.String
>BUILD FAILED
>* Try:
>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
>Total time: 3.238 secs
>C:\Users\dustin\Desktop\IAN\forge>
>Task completed with return code 0 in 3733 milliseconds
>Task return code check OK!



Offline
Last seen: 2 years 2 months ago
Joined: 04/05/2015 - 20:17
Gems: 0
I have a similar problem, but

I have a similar problem, but in line 18th

Offline
Last seen: 4 months 1 week ago
Joined: 03/14/2015 - 03:29
Gems: 4
RE:I have a similar problem, but

@Ailab Same!

 

Starerkki's picture
Offline
Last seen: 9 months 1 week ago
Joined: 12/30/2014 - 18:59
Gems: 0
RE:RE:I have a similar problem, but

Ok, so I have a problem with build.gradle too. When I try to do a test enviroment, it gives me this error. The same error happens with server test environment, and exporting the mod. So basically, I can't test my mod anyhow. I hope that someone will help me, thanks,

-Staer


===================================================================================================================================
Executing gradle command: clean runClient
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'forge'.
> Could not open buildscript class cache for build file '/Users/pojat/Desktop/MCreator/forge/build.gradle' (/private/var/root/.gradle/caches/2.0/scripts/build_5f1hd5vf2187st1aupm668mcus/ProjectScript/buildscript).
   > Timeout waiting to lock buildscript class cache for build file '/Users/pojat/Desktop/MCreator/forge/build.gradle' (/private/var/root/.gradle/caches/2.0/scripts/build_5f1hd5vf2187st1aupm668mcus/ProjectScript/buildscript). It is currently in use by another Gradle instance.
     Owner PID: unknown
     Our PID: 8674
     Owner Operation: unknown
     Our operation: Initialize cache
     Lock file: /private/var/root/.gradle/caches/2.0/scripts/build_5f1hd5vf2187st1aupm668mcus/ProjectScript/buildscript/cache.properties.lock
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 7.218 secs

 

Wassaka's picture
Offline
Last seen: 5 months 3 weeks ago
Joined: 08/16/2014 - 23:45
Gems: 0
Its an install problem, try

Its an install problem, try to desinstall the program and istall it again but in .zip 

Sorry for my bad english

cristianda05's picture
Offline
Last seen: 1 month 1 week ago
Joined: 03/04/2014 - 19:46
Gems: 12
Same problem,but line 10.

Same problem,but line 10.