Hi guys
I have a little software project, originally made with netbeans native ant, and now the time is come where I get help from other people and want to switch to gradle. I tried some weeks with tutorials and reading documentation, but I stuck during setup and have no idea how I can continue without help. And sorry, software development is not my main profession and so I’m not familiar with all tools like maven or gradle. I have no idea about both, but want to get some knowledge about gradle at least.
This project includes an other library and an annotation processor, both are local projects here and I want to include them as subprojects. I think this would be the native way for library projects.
For the first shot, I don’t care about versioning of these library projects, maybe I will do this later. All of these projects are versionised by SVN, but these gradle project should be versionised with git.
What I want to do is:
-Look for a directory, which exists local here. If it exists, grab and import its source files. This should ensure to get the latest code version. I was told that this is not the golden way and I think about a better way, but for now I have no idea how to do it better. Maybe I will have with more gradle experience.
-Setting all dependencies. This is most important actually and this is also where I stuck and why I’m here. Setting the library (its called EngineeringUtils) as dependency was hard, but works after including the whole file tree. I think better would be to include only the build artifact (the build of this library itself works fine by gradle), but I was not able to achieve this. If anyone can show me where what I did wrong, please tell me.
The next is, to set the annotation processor (its called ForceDeclaredGenerics). I get always a message about bad declaration string or gradle could not find the files and please for advise to fix this.
If I get the issues above fixed, I expect some errors about missing dependencies (at least mXparser and objenesis I remember actually), but this is the next step.
In sum, I would like to get the gradle project in a state, where I can have all dependencies local and update them if neccessary in that way, that an internet connection (e.g. maven repositories) is not neccessary for every run and I can share the project offline.
I hope anyone can help me.
You may find the misterious project I’m talkting about here:
https://sourceforge.net/projects/jcls/files/jCLS.zip/download
best regards