#Building jar files with intellij

30 messages · Page 1 of 1 (latest)

severe tide
#

Im trying to make a plugin for oldschool runescape but i cant find the output of my jar file, Im using the publishToMavenLocal arg in my build command But ive been trying for a few days and cant produce a jar file

next fractalBOT
#

This post has been reserved for your question.

Hey @severe tide! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

wheat valley
twin shard
#

I’m pretty sure you can go in artifact, add an output jar

severe tide
severe tide
twin shard
#

Oh

#

There’s a maven build

#

It should be preconfigured

#

There’s a maven tab on the right

severe tide
#

I dont have it

#

Maybe im using Gradle and not Maven

brittle veldt
#

If youre not sure about using maven or gradle, pls send a screenshot of your project setup(file list in intellij)

brittle veldt
#

yep

severe tide
#

but the guide im following uses the Maven thing in the build args

brittle veldt
severe tide
#

Me too

wheat valley
severe tide
wheat valley
#

Try gradle assemble

wheat valley
severe tide
wheat valley
#

Not build args just gradle assemble in the terminal

severe tide
#

PS C:\Users\James\Desktop\devious-client> gradle assemble
gradle : The term 'gradle' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • gradle assemble
  •   + CategoryInfo          : ObjectNotFound: (gradle:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
severe tide