Bridge: start Sponge support
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
group = 'asys'
|
group = 'asys'
|
||||||
version = '0.5.1-SNAPSHOT'
|
version = '0.6-SNAPSHOT'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
|
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
|
||||||
|
maven { url 'http://repo.spongepowered.org/Sponge/maven/' }
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
@@ -39,5 +40,18 @@ dependencies {
|
|||||||
exclude group: 'com.google.code.gson'
|
exclude group: 'com.google.code.gson'
|
||||||
exclude group: 'org.avaje'
|
exclude group: 'org.avaje'
|
||||||
}
|
}
|
||||||
|
compile (group: 'org.spongepowered', name: 'spongeapi', version: '6.0.0') {
|
||||||
|
exclude group: 'com.google.guava'
|
||||||
|
exclude group: 'com.google.code'
|
||||||
|
exclude group: 'com.google.code.findbugs'
|
||||||
|
exclude group: 'com.google.code.gson'
|
||||||
|
exclude group: 'com.google.inject'
|
||||||
|
exclude group: 'com.github.ben-manes.caffeine'
|
||||||
|
exclude group: 'com.flowpowered'
|
||||||
|
exclude group: 'org.slf4j'
|
||||||
|
exclude group: 'org.apache.commons'
|
||||||
|
exclude group: 'org.ow2.asm'
|
||||||
|
exclude group: 'ninja.leaping.configurate'
|
||||||
|
}
|
||||||
compile group: 'io.netty', name: 'netty-codec', version: nettyVersion
|
compile group: 'io.netty', name: 'netty-codec', version: nettyVersion
|
||||||
}
|
}
|
||||||
|
|||||||
17
bridge/src/main/java/asys/bridge/sponge/BridgeSponge.java
Normal file
17
bridge/src/main/java/asys/bridge/sponge/BridgeSponge.java
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* DmitriyMX <dimon550@gmail.com>
|
||||||
|
* 2017-05-17
|
||||||
|
*/
|
||||||
|
package asys.bridge.sponge;
|
||||||
|
|
||||||
|
import org.spongepowered.api.event.Listener;
|
||||||
|
import org.spongepowered.api.event.game.state.GameConstructionEvent;
|
||||||
|
import org.spongepowered.api.plugin.Plugin;
|
||||||
|
|
||||||
|
@Plugin(id = "asysbridge", name = "ASysBridge", version = "0.6-SNAPSHOT")
|
||||||
|
public class BridgeSponge {
|
||||||
|
@Listener
|
||||||
|
public void initPlugin(GameConstructionEvent event) {
|
||||||
|
// hello?
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user