dylanenabled commented on issue #1425:
URL: https://github.com/apache/camel-k/issues/1425#issuecomment-618832178


   For what it is worth (for others who might be looking for this, or maybe you 
have a better way to set it up @lburgazzoli), my iml file looks like:
   
   ```xml
   <?xml version="1.0" encoding="UTF-8"?>
   <module type="JAVA_MODULE" version="4">
     <component name="FacetManager">
       <facet type="kotlin-language" name="Kotlin">
         <configuration version="3" platform="JVM 1.8" allPlatforms="JVM [1.8]">
           <compilerSettings />
           <compilerArguments>
             <option name="jvmTarget" value="1.8" />
           </compilerArguments>
         </configuration>
       </facet>
     </component>
     <component name="NewModuleRootManager" inherit-compiler-output="true">
       <exclude-output />
       <content url="file://$MODULE_DIR$">
         <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
       </content>
       <orderEntry type="inheritedJdk" />
       <orderEntry type="sourceFolder" forTests="false" />
       <orderEntry type="library" scope="PROVIDED" 
name="org.apache.camel:camel-core:3.0.0" level="project" />
       <orderEntry type="library" scope="PROVIDED" 
name="org.apache.camel:camel-csv:3.0.0" level="project" />
       <orderEntry type="library" scope="PROVIDED" 
name="org.apache.camel:camel-jackson:3.0.0" level="project" />
       <orderEntry type="library" scope="PROVIDED" name="KotlinJavaRuntime" 
level="project" />
       <orderEntry type="library" scope="PROVIDED" 
name="org.apache.camel:camel-aws-s3:3.0.0" level="project" />
       <orderEntry type="library" scope="PROVIDED" 
name="org.apache.camel:camel-aws-sqs:3.0.0" level="project" />
       <orderEntry type="library" scope="PROVIDED" 
name="org.apache.camel.k:camel-k-loader-kotlin:1.2.1" level="project" />
     </component>
   </module>
   ```
   
   Note I'm on a slightly older version for camel-k that uses camel 3.0.0 
currently, probably those need to be updated.
   
   It might be worth adding something on how to set this up to the kotlin 
documentation.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to