Skip to content

Commit

Permalink
Stop writing the .idea directory for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Aug 7, 2023
1 parent 8afaf12 commit d4dc7d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kmake/src/Exporters/AndroidExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class AndroidExporter extends Exporter {
fs.writeFileSync(path.join(outdir, 'gradle', 'wrapper', 'gradle-wrapper.jar'), binaryData['android_gradle_wrapper_gradle_wrapper_jar']);
fs.writeFileSync(path.join(outdir, 'gradle', 'wrapper', 'gradle-wrapper.properties'), textData['android_gradle_wrapper_gradle_wrapper_properties']);

fs.ensureDirSync(path.join(outdir, '.idea'));
/*fs.ensureDirSync(path.join(outdir, '.idea'));
fs.writeFileSync(path.join(outdir, '.idea', '.gitignore'), textData['android_idea_gitignore']);
fs.writeFileSync(path.join(outdir, '.idea', 'gradle.xml'), textData['android_idea_gradle_xml']);
fs.writeFileSync(path.join(outdir, '.idea', 'misc.xml'), textData['android_idea_misc_xml']);
Expand All @@ -141,7 +141,7 @@ export class AndroidExporter extends Exporter {
fs.writeFileSync(path.join(outdir, '.idea', 'kotlinc.xml'), textData['android_idea_kotlinc_xml']);
fs.ensureDirSync(path.join(outdir, '.idea', 'modules'));
fs.ensureDirSync(path.join(outdir, '.idea', 'modules', 'app'));
fs.writeFileSync(path.join(outdir, '.idea', 'modules', 'app', project.getName() + '.app.main.iml'), textData['android_idea_modules_my_application_iml']);
fs.writeFileSync(path.join(outdir, '.idea', 'modules', 'app', project.getName() + '.app.main.iml'), textData['android_idea_modules_my_application_iml']);*/

if (targetOptions.customFilesPath != null) {
const dir = targetOptions.customFilesPath;
Expand Down
4 changes: 2 additions & 2 deletions lib/kmake/Exporters/AndroidExporter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d4dc7d7

Please sign in to comment.