I have deployed 2.0.3682 version of upsource and I am facing a couple of issues in the setup
- Language Level - While reviewing jdk 1.8 code we get an error "Lambda expressions are not supported at this language level". Below is the config I found in the misc.xml under .idea folder.
</component><component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-type="JavaSDK" assert-jdk-15="true" project-jdk-name="1.8">
If I am not wrong, the iml files and the .idea folder are created by upsource. Where is the above file reading it from?
- Third party libraries - How can upsource be configured to import third party libraries while reviewing or browser source code? Under each module I see the .iml file updated to have the below xml entry
<orderEntry type="module-library" exported="">
It seems the gradle home variable is getting overwritten because GRADLE_HOME environment variable is pointing to /opt/gradle/gradle2.4.
Let me know your suggestions on resolving the above issues. If a backup of the .idea folder is needed, let me know the steps to take it. Where is .idea folder located? On the upsource machine or on the remote git server?