neoforged / ModDevGradle

A Gradle plugin for developing Minecraft mods using NeoForge
https://projects.neoforged.net/neoforged/moddevgradle
GNU Lesser General Public License v2.1
25 stars 6 forks source link

Include the test module in the tested mod when running tests through IntelliJ #25

Closed shartte closed 2 months ago

shartte commented 2 months ago

We include the test source set by default in the Gradle output directories and should do the same for IJ.

neoforged-pr-publishing[bot] commented 2 months ago

Last commit published: 18b6bdae86e5606698722ecece562464f41be178.

PR Publishing ### The artifacts published by this PR: - :package: [`net.neoforged.moddev:net.neoforged.moddev.gradle.plugin:0.1.84-pr-25-fix-ij-test-execution`](https://github.com/neoforged/ModDevGradle/packages/2179677) - :package: [`net.neoforged:moddev-gradle:0.1.84-pr-25-fix-ij-test-execution`](https://github.com/neoforged/ModDevGradle/packages/2179676) ### Repository Declaration In order to use the artifacts published by the PR, add the following repository to your buildscript: ```gradle repositories { maven { name 'Maven for PR #25' // https://github.com/neoforged/ModDevGradle/pull/25 url 'https://prmaven.neoforged.net/ModDevGradle/pr25' content { includeModule('net.neoforged.moddev', 'net.neoforged.moddev.gradle.plugin') includeModule('net.neoforged', 'moddev-gradle') } } } ```