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

Commit

Permalink
Start adding testmods as a module. This should not be breaking, and i…
Browse files Browse the repository at this point in the history
…t should not be required for anything, as it replicates the same functionality as testplugins in common.

Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
  • Loading branch information
gabizou committed Apr 25, 2018
1 parent e0f41a5 commit a412855
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SpongeCommon
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ buildscript {

// On Forge, we use the Forge build number as Minecraft version for ForgeGradle
ext.minecraftVersion = forgeBuild
ext.testmods = project.project('testmods')

// Apply shared implementation Gradle config
apply from: project(':SpongeCommon').file('gradle/implementation.gradle')
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ rootProject.name = name
include 'SpongeCommon'
include 'SpongeCommon:SpongeAPI'
include 'SpongeCommon:testplugins'
include 'testmods'
15 changes: 15 additions & 0 deletions testmods/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ext.api = parent.project('SpongeCommon:SpongeAPI')
ext.common = parent.project('SpongeCommon')
apply from: api.file('gradle/sponge.gradle')

dependencies {
compile api
compile common
compile parent
compile parent.depen

}

license {
ext.name = 'Sponge'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.spongepowered.mod.test.customitem;

import com.google.common.eventbus.Subscribe;
import org.spongepowered.api.plugin.Plugin;

@Plugin(id = "customitemtest", name = "Custom Item Test", version = "0.0.1")
public class CustomItemDropTest {


@Subscribe
public void onEntityDrop(LivingDropsEvent)

This comment has been minimized.

Copy link
@Zidane

Zidane Apr 25, 2018

Member

I, too, love a good cliffhanger of the age old "What will the variable name be...event, value, lde!?!?!?"


}

0 comments on commit a412855

Please sign in to comment.