Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ plugins {
id("implementation-structure")
id(apiLibs.plugins.ideaExt.get().pluginId)
alias(libs.plugins.versions)
alias(libs.plugins.blossom)
}

val apiVersion: String by project
Expand Down Expand Up @@ -67,6 +68,10 @@ val applaunch by sourceSets.registering {
configurations.named(implementationConfigurationName) {
extendsFrom(serviceLayerConfig.get())
}

blossom.javaSources {
property("pluginSpiVersion", apiLibs.pluginSpi.get().version)
}
}

// Game layer
Expand Down Expand Up @@ -158,6 +163,14 @@ idea {
}
}

sourceSets {
test {
blossom.resources {
property("apiVersion", apiVersion.replace("-SNAPSHOT", ""))
}
}
}

allprojects {
configurations.configureEach {
resolutionStrategy.dependencySubstitution {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package org.spongepowered.forge.applaunch.loading.moddiscovery;
package org.spongepowered.forge.applaunch.mod.discovery;

import cpw.mods.jarhandling.SecureJar;
import net.minecraftforge.forgespi.locating.IModFile;
Expand Down
Loading
Loading