Did the module system get in your way during the migration? I heard that there are some issues, especially with reflection-heavy packages such as hibernate.
Hey,
I am trying to migrate from java 8 to 11 with gradle 7.5 version... I am getting error for the below grade command. Looks like install command does not work for cradle 7.5... is there a workaround or other commands that I could use for install
No, I didn't experience any problems with the module system. At the moment, I have no intention to use the module path since Gradle multi-project builds in combination with the java-library plug-in seemed to be more suitable for our use-case. So all the libraries are still on the classpath. I guess this circumvents all problems with the JPMS.
Given that Java 9 was released September 2017, I assume that all common, actively developed frameworks and libraries have a solution for API calls which are not allowed anymore. Did you hear of any concrete problem with Hibernate, apart from adding the libraries javax.xml.bind:jaxb-api and org.glassfish.jaxb:jaxb-runtime which are not part of the JDK anymore?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Did the module system get in your way during the migration? I heard that there are some issues, especially with reflection-heavy packages such as hibernate.
But I had problems with the module system 9 month ago, when I evaluated the JPMS vs. Maven submodules vs. Gradle multi-project builds.
See this question on Stackoverflow which is still unanswered:
stackoverflow.com/questions/507872...
It was triggered by dependencies in the Spring framework which didn't like the JPMS constraints.
Hey,
I am trying to migrate from java 8 to 11 with gradle 7.5 version... I am getting error for the below grade command. Looks like install command does not work for cradle 7.5... is there a workaround or other commands that I could use for install
Command:
install.dependsOn createDir
Error:
Could not get unknown property 'install'
No, I didn't experience any problems with the module system. At the moment, I have no intention to use the module path since Gradle multi-project builds in combination with the java-library plug-in seemed to be more suitable for our use-case. So all the libraries are still on the classpath. I guess this circumvents all problems with the JPMS.
Given that Java 9 was released September 2017, I assume that all common, actively developed frameworks and libraries have a solution for API calls which are not allowed anymore. Did you hear of any concrete problem with Hibernate, apart from adding the libraries
javax.xml.bind:jaxb-api
andorg.glassfish.jaxb:jaxb-runtime
which are not part of the JDK anymore?