#make gradle or maven file to compile source
54 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @floral laurel! Please use
/closeor theClose Postbutton 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.
source code
basically try to compile it, look for errors and then check which dependencies are missing using the error messages
i try but i am not java developer and dont know what he say
its my log
can tell me how to read error and find dependencies pls ?
Are you sure your repositories section is correct?
that doesn't look like a dependency error
maybe first get a normal Minecraft project to work and then replace the source code
ok
i build the project with
apply plugin: 'java'
and its work but when i build it get this error
if (c == '§') {
^
C:\Users\BKGR\IdeaProjects\MinerRobot\src\main\java\pl\jonspitfire\medorarobots\libs\actionutil\util\UtilMessage.java:29: error: unclosed character literal
if (c == '§') {
^
C:\Users\BKGR\IdeaProjects\MinerRobot\src\main\java\pl\jonspitfire\medorarobots\libs\actionutil\util\UtilMessage.java:32: error: 'else' without 'if'
else {
^
(its java code error and happen because i decompile it right ? )
or i need to import api
i just miss bukkit api( i think) but how add external liblary/api on intellij adea
make sure bukkit is added in the build.gradle with tze correct repository
(don't use local files)
its work thanks, but i have another api and this api dont have github/repo link and i need to download and put it to project manually, how i can do it correctly
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
hi
seems like you are missing com.solodevelopment.tokens
but how i can fix
make sure that the correct dependency is added
its correct but when i add it manually its not work i dont know how to add the api to build.gradle
api : https://www.spigotmc.org/resources/tokens-api.85210/
What did you add to your build.gradle?
and where did you find that you should add exactly that?
Where did you get the
compile (group: 'com.github.Realizedd', name: 'TokenManager', version: '3.2.4') {
transitive = false
}
from?
its for another plugin and work
yes this is
So what's the dependency for com.solodevelopment.tokens?
https://www.spigotmc.org/resources/tokens-api.85210/ its for solodevelopment
but i dont know how to add it to build.gradle
this api for this plugin https://www.spigotmc.org/resources/⚡️-tokens-⚡️-40-enchantments-⭕-free-expansions-⭕-25-off.79668/
I cannot access that site
but ig you would maybe need to first download the JAR and then add it to Gradle
thanks
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
hi, i import all dependencies to the project but i get loot of error/warn
here is a unused import statement and i dont know what is this
i import this files to the project but not work
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
can help me pls ?