This issue was found during investigation of T-IDE broken binary:
they've used an .ico file of smaller size than in IDEA, and that caused
the binary to become invalid.
GitOrigin-RevId: 9b14d581e27dd04e5e9f6c6d25665ae895d238d6
Build scripts depend on some code from IntelliJ project (they use JpsModel interfaces to introspect the project configuration, and use code from jps.build modules to compile Java and Groovy code). Before this change when build scripts were invoked from the IDE by running *.gant files they took required classes directly from module output directories, but when they were invoked via gant.xml (e.g. on TeamCity) use prebuilt bootstrap version of these modules from community/build/lib/jps/*.jar files. So if you added usage of a recently added class or method in a script, this will work when running scripts from IDE but fail on TeamCity. Also updating a library used directly or indirectly by build scripts may cause problems because the bootstrap version of JPS JARs may become incompatible with it. And in order to update the bootstrap version of JPS JARs it was needed to build the new JARs and put them to Git.
Now dependencies of build scripts are specified in a special intellij.tools.jps.buildScriptDependencies module which is uploaded as a Maven artifact to https://bintray.com/jetbrains/intellij-third-party-dependencies/intellij-modules-preview and added as a Maven library 'jps-build-script-dependencies-bootstrap', so the same version of dependencies is used when running build scripts from IDE and on TeamCity.
GitOrigin-RevId: 232561ddc3135e97c238c8d4850fbbc2f1a8ab10
Newly introduced 'intellij.tools.jps.buildScriptDependencies' module contains all dependencies which are required to invoke build scripts for IntelliJ-based IDEs.
The build scripts was updated to support generation of Maven artifacts from modules without sources. antlayout.jar was rebuilt from sources to include changes in JarContainer.
JPS plugin from Kotlin 1.3.0-rc uses methods which are missing in old version of JPS so we need to update it to be able to compile IDEA project in build scripts.
should be like
SetOutPath $INSTDIR\plugins\android\lib\templates\other\Daydream
File "/opt/buildAgent/work/c2d8dfcc72679944/out/release/dist.all.ce/plugins/android/lib/templates/other/Daydream/globals.xml.ftl"
File "/opt/buildAgent/work/c2d8dfcc72679944/out/release/dist.all.ce/plugins/android/lib/templates/other/Daydream/recipe.xml.ftl"
File "/opt/buildAgent/work/c2d8dfcc72679944/out/release/dist.all.ce/plugins/android/lib/templates/other/Daydream/template.xml"