scenery icon indicating copy to clipboard operation
scenery copied to clipboard

Documentation about gradle / usage in IntelliJ / deployment

Open frauzufall opened this issue 3 years ago • 4 comments

Here are some questions that should be documented somewhere:

  • How do I import a SciJava gradle project (i.e.scenery) into IntelliJ? Do I need plugins / specific settings?
  • Which JDK do I chose for scenery / sciview?
  • How do I run tests for my SciJava gradle project locally?
  • How do I update the pom-scijava version in a SciJava gradle project?
  • How do I add sciview to the same project scenery is in? (File > New > Module from existing sources..)
  • How do I make a maven project (i.e. sciview) use my local gradle project (i.e. scenery) instead of the one defined in the pom.xml file?
  • How do I make a gradle project use another local gradle project (i.e. once scenery is ported to gradle) instead of the one specified in the gradle dependencies?
  • How do I release a new version of my gradle project (scenery) to the SciJava maven server? (= previously running the release.sh script)

frauzufall avatar Mar 16 '21 17:03 frauzufall

I would add the following questions to the list:

  • Does copying of Gradle-based dependencies (scenery) work the same way as maven-based dependencies, for a maven project (scenery-insitu or sciview)? When scenery was maven based, this was achievable by running mvn install dependency:copy-dependencies or by creating a fat-jar
  • How do I get maven to refer to the local version of a Gradle project (scenery)? Previously, this was possible because maven would first refer to the local maven repository when searching for a dependency. To be clear, this relates to using maven from the command-line, not through IntelliJ

aryaman-gupta avatar Mar 16 '21 19:03 aryaman-gupta

In progress here

elect86 avatar Mar 16 '21 23:03 elect86

two questions remains basically yet to answer, but the rest is there

elect86 avatar Mar 18 '21 00:03 elect86