Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Advancements implementation #1913

Merged
merged 3 commits into from
Dec 31, 2017

Conversation

Cybermaxke
Copy link
Contributor

@Cybermaxke Cybermaxke commented Dec 25, 2017

API | Common | Forge | Vanilla

// In a development environment are the resources and classes separated
// into two source directories, at least in IntelliJ.
// This is a temporary fix to make sure that advancement/recipe files
// are loaded in the IDE.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would love some input on this ugly fix, no idea how to work around it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this for SpongeForge itself or for Sponge plugins loaded from the classpath?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sponge plugins loaded from the classpath.

Copy link
Contributor

Choose a reason for hiding this comment

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

Generally, we set inheritOutputDirs = true for all IntelliJ IDEA modules, which makes IntelliJ IDEA write classes and resources into one shared output directory. This is applied automatically for SpongeAPI and the Sponge implementation modules and all plugins using SpongeGradle.

However, I noticed that it wasn't applied to testplugins which might be the reason for the problem if that's what you were testing with. I fixed that in SpongePowered/SpongeAPI@2589078, can you check if your workaround is still necessary after this commit?

If you are using a separate plugin for testing, make sure to apply the SpongeGradle plugin.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That worked, thanks! :)

@Cybermaxke Cybermaxke changed the title [WIP] Advancements implementation Advancements implementation Dec 27, 2017
gabizou added a commit that referenced this pull request Dec 31, 2017
…try events. Merges #1913.

Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
@gabizou gabizou merged commit 4767dd5 into SpongePowered:bleeding Dec 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants