Gradle before compile step
is there any way to change the text of .java file before it gets compiled?
8 Replies
⌛
This post has been reserved for your question.
Hey @Koblížkáč! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
(using gradle plugins ig)
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Is it necessary to change it or is it sufficient to add classes?
changing stuff before compilation is a bit fragile and may not work that well with IDEs
but adding classes works pretty well
alright thanks ill check it out
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.
if you want to do that and also access these classes from your code, you can use annotation processors
though setting that up can be a bit annoying
💤
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.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.