MovingBlocks / TerasologyLauncher

Terasology Launcher is the official launcher for the open source game Terasology.
http://terasology.org/
Apache License 2.0
154 stars 76 forks source link

Update gradle idea task #193

Closed mkalb closed 5 years ago

mkalb commented 10 years ago

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5089859-update-gradle-idea-task?utm_campaign=plugin&utm_content=tracker%2F715506&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F715506&utm_medium=issues&utm_source=github).
mkalb commented 10 years ago
Cervator commented 10 years ago

Let me know if you find some good resources on using whatever new format JetBrains prefers - it seems the .ipr stuff is deprecated vs the IntelliJ Gradle plugin and the idea {} block itself seems to be getting ignored somewhat outside of plain command line Gradle :(

Probably just need to apply similar customizations to a .idea directory instead, but I sure wish they had supported the migration between the formats better

mkalb commented 10 years ago

http://forums.gradle.org/gradle/topics/the_idea_plugin_breaks_the_new_intellij_13_iml_configuration

http://stackoverflow.com/questions/19253416/directory-based-idea-project-with-gradle

http://forums.gradle.org/gradle/topics/1_9rc3_idea_plugin_support_for_idea_13

http://devnet.jetbrains.com/message/5504732#5504732

Cervator commented 10 years ago

Yep I've read some stuff like that, although usually it is from Gradle people being confused about what JetBrains changed and suggesting to go with their design or complain to them. Rare to see an actual post from JetBrains and they never seem to address the whole "You broke everything without telling people or providing alternatives!" :-)

Some stuff you can get working from pure Gradle, like for instance Terasology itself will correctly configure dependencies etc now when imported by Gradle into IntelliJ - but all the nice tweaks we apply are missing, and I don't see an obvious replacement that supports those kinds of customizations.

We might have to do old school XML hacking against the .idea directory without the nice idea.project.ipr.withXml type entry points :-(

mkalb commented 10 years ago

Affected files:

mkalb commented 10 years ago

@Cervator A JetBrains developer advises to submit a bug at this link http://devnet.jetbrains.com/message/5504732#5504732 (the last entry).

skaldarnar commented 10 years ago

@mkalb, @Cervator (and probably @msteiger)

got any news on this one?

Cervator commented 10 years ago

Negative - although I probably haven't been looking hard enough. It is possible everything is possible right now and just needs the effort to convert.