breautek commented on issue #1635:
URL: 
https://github.com/apache/cordova-android/issues/1635#issuecomment-1650298446

   I had a look at this and it seems like this option is controlled via a 
`.idea` file. I'm not sure what the consequences are if Cordova generated the 
`.idea` file.
   
   ```xml
   <?xml version="1.0" encoding="UTF-8"?>
   <project version="4">
     <component name="GradleSettings">
       <option name="linkedExternalProjectsSettings">
         <GradleProjectSettings>
           <option name="testRunner" value="GRADLE" />
           <option name="distributionType" value="DEFAULT_WRAPPED" />
           <option name="externalProjectPath" 
value="/mnt/data/development/totalpave/experimental/experiment" />
           <option name="gradleHome" value="$PROJECT_DIR$/../../../gradle" />
           <option name="gradleJvm" value="Embedded JDK" /> <!-- this is the 
line that seems to control that setting in AS -->
           <option name="modules">
             <set>
               <option 
value="/mnt/data/development/totalpave/experimental/experiment" />
               <option 
value="/mnt/data/development/totalpave/experimental/experiment/app" />
             </set>
           </option>
         </GradleProjectSettings>
       </option>
     </component>
   </project>
   ```
   
   These settings are only ever used in AS. E.g. if you do `cordova build 
android`, the Android Studio settings are not used. So it might be better for 
cordova not to muck with this file because if the structure of this file 
changes, then it would be up to Cordova to make updates accordingly.


-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to