JPS Build: Temporary solution for creating IDEA artifacts settings

This script traverses all Gradle copy task, build virtual files model
and generates IDEA artifacts configuration based on this. Unfortunately
this is not fully working and needs manual fixing, so the actual artifacts
configurations are commited by hand for now. By the way, this script also
visits copy task's internals which leads that Gradle generates
manifests in `build` folders during IDEA import. This files are referenced
in artifacts configurations. So, despite the fact that artifacts
configurations created by this script is not used, we need to run them
to generate required manifests.

This solution will be replaced with DSL that produces both Gradle
copy tasks and IDEA artifacts configuration which is coming soon.
This commit is contained in:
Sergey Rostov
2018-10-22 12:28:05 +03:00
parent d81f9dc24d
commit 2dad03f817
10 changed files with 890 additions and 0 deletions
+1
View File
@@ -38,4 +38,5 @@ build/
.idea/compiler.xml
.idea/inspectionProfiles/profiles_settings.xml
.idea/.name
.idea/artifacts/dist_auto_reference_dont_use.xml
kotlin-ultimate/