Friends, I have set up the environment, installed Rush, created a test project and compiled the accompanying example. Everything is working.
Now you need help with some things that are not very well understood by me.
I intend to use UniREST to connect to Supabase.io, so I downloaded “unirest_3_11_11.jar” and put it in the deps folder of my project, modified “rush.yml” leaving the last lines like this:
. # Dependencies declared here should be present in the “deps” directory.
. deps:
. - unirest_3_11_11.jar
Is “-” required before .jar file?
Now how should I import “unirest_3_11_11.jar” into my project?
This is no longer required and IntelliJ IDEA (or any other JetBrains IDE) should be able to automatically index dependencies for every extension created using Rush 1.1.1 or higher.
This is basic … Did you really have tried writing simple programs in java ??
To import java package into a class , we need to use java import keyword which is used to access package and its classes into the java program. Use import to access built-in and user-defined packages into your java source file so that your class can refer to a class that is in another package by directly using its name.