You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried building the app using gradle build
but i am getting no jar files in build folder except in the libs folder there is a Minecraft-1.0.0_Snapshot.jar
So How to get the Jar file
So Can You Give me the product file made afterwards or you can convert this to maven project or pom.xml bcoz i tried to change some things in the gradle but it don't work
This is Not Even Working Now With your changes it's giving Could not set unknown property 'mainClassName' for root project 'Minecraft' of type org.gradle.api.Project.
Activity
StartForKiller commentedon May 21, 2021
Then share the error that the build gives
DivyanshByte commentedon May 21, 2021
I tried building the app using
gradle buildbut i am getting no jar files in build folder except in the libs folder there is a Minecraft-1.0.0_Snapshot.jar
So How to get the Jar file
samuelh2005 commentedon May 22, 2021
That is the jar
samuelh2005 commentedon May 22, 2021
Thats how gradle works
DivyanshByte commentedon May 22, 2021
No it is not running and giving error no manifest found
samuelh2005 commentedon May 22, 2021
Then the gradle file is wrong,
samuelh2005 commentedon May 22, 2021
the mainclass is not being set
DivyanshByte commentedon May 22, 2021
So Can You Give me the product file made afterwards or you can convert this to maven project or pom.xml bcoz i tried to change some things in the gradle but it don't work
samuelh2005 commentedon May 22, 2021
add this to the bottom of build.gradle
And then run using the jar task insted
DivyanshByte commentedon May 22, 2021
Ok Thanks You Can Also Add This in the repository as a new commit to help new ones Closing This Now. :)
StartForKiller commentedon May 22, 2021
Yeah, i haven't put the mainclass on the gradle build, because i always work with intellij that runs without it, i should add it
DivyanshByte commentedon May 22, 2021
So How Can I open It In Intellij There it was also not opening
DivyanshByte commentedon May 22, 2021
This is Not Even Working Now With your changes it's giving Could not set unknown property 'mainClassName' for root project 'Minecraft' of type org.gradle.api.Project.
5 remaining items
samuelh2005 commentedon May 22, 2021
im on mac to
DivyanshByte commentedon May 22, 2021
How do you made it work?
samuelh2005 commentedon May 22, 2021
if you want to see my build.gradle however it is a different project, but you can stitch the two build.gradles togther
DivyanshByte commentedon May 22, 2021
Ok You Can Give It to me
samuelh2005 commentedon May 22, 2021
its the link
samuelh2005 commentedon May 22, 2021
try this one
DivyanshByte commentedon May 22, 2021
Ok
samuelh2005 commentedon May 22, 2021
and run the jar task, since i just use an IDE i can just press the button to do so
DivyanshByte commentedon May 22, 2021
No it is still giving the same error
samuelh2005 commentedon May 22, 2021
dont know then :(
DivyanshByte commentedon May 22, 2021
You Can give me the build jar to test it
samuelh2005 commentedon May 22, 2021
i have not built this one yet
DivyanshByte commentedon May 22, 2021
so how are you testing it?
samuelh2005 commentedon May 22, 2021
Im not, just seeing what this one is missing
DivyanshByte commentedon May 22, 2021
Oh Btw Thanks :)