Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow IDEA run configs to be generated for non-root projects #236

Merged
merged 4 commits into from
Jul 26, 2020

Conversation

Johni0702
Copy link
Contributor

See individual commits.

Default behavior should be almost unchanged, only difference being that autoGenIDERuns now defaults to false for subprojects (for backwards compat) and only when it's set to true, will run configs be generated (as opposed to before where they were never generated).

Eclipse uses "-" as path separator between parent and child projects whereas
IDEA uses ".".

Gradle: ":1.16.1" (with rootProject named "root")
Eclipse: "root-1.16.1"
IDEA: "root.1.16.1.main"
So instead of having three "Minecraft Client" run configs, you now get
"Minecraft Client (:1.16.1)", "Minecraft Client (:1.15.2)", etc.
@Johni0702 Johni0702 force-pushed the subproject-run-configs branch from c001456 to 3f161d9 Compare July 12, 2020 14:40
@Johni0702
Copy link
Contributor Author

The build failure seems random and unrelated to the changes afaict.

@modmuss50 modmuss50 self-requested a review July 16, 2020 17:16
Copy link
Member

@modmuss50 modmuss50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, will merge into 0.5

@modmuss50 modmuss50 added this to the 0.5.0 milestone Jul 26, 2020
@modmuss50 modmuss50 changed the base branch from dev/0.4 to dev/0.5 July 26, 2020 20:04
@modmuss50 modmuss50 merged commit 4aa840a into FabricMC:dev/0.5 Jul 26, 2020
Chocohead added a commit to Chocohead/Fabric-Loom that referenced this pull request Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants