diff --git a/Plugin/build.gradle b/Plugin/build.gradle index 740f6d93a..f6db6b3d4 100644 --- a/Plugin/build.gradle +++ b/Plugin/build.gradle @@ -21,8 +21,11 @@ minecraft { dependencies { implementation 'commons-io:commons-io:2.4' - compileOnly('org.spongepowered:spongevanilla:1.12.2-7.1.0-BETA-11') { + /*compileOnly('org.spongepowered:spongevanilla:1.12.2-7.1.0-BETA-11') { exclude module: '*' + }*/ + compileOnly ("org.spongepowered:spongecommon:1.12.2-7.1.3-SNAPSHOT:dev") { + exclude module: 'testplugins' } compileOnly 'org.spongepowered:spongeapi:' + project.spongeApiVersion @@ -35,10 +38,10 @@ dependencies { testCompile 'junit:junit:4.8.2' testCompile 'org.powermock:powermock-module-junit4:1.4.9' testCompile 'org.powermock:powermock-api-mockito:1.4.9' - testCompile 'com.github.SpongePowered:McTester:0.9.0-SNAPSHOT' + testCompile mcTesterDep testCompileClasspath 'me.lucko.luckperms:luckperms-api:4.2' testCompileClasspath 'com.github.rojo8399:PlaceholderAPI:4.5.1' - testCompileClasspath 'com.github.Sponge-RPG-dev:NTCore:1.13-SNAPSHOT-6' + //testCompileClasspath 'com.github.Sponge-RPG-dev:NTCore:1.13-SNAPSHOT-6' jar { manifest { diff --git a/build.gradle b/build.gradle index d8343c7a3..f2dfdf83d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' - classpath 'com.github.SpongePowered:McTester:0.9.0-SNAPSHOT' + classpath mcTesterDep } repositories { mavenCentral() @@ -39,7 +39,7 @@ subprojects { url = "https://files.minecraftforge.net/maven" } } - + task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.main.allSource diff --git a/gradle.properties b/gradle.properties index 1ec94b887..d1ef01b9b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,3 @@ -spongeApiVersion=7.1.0 -NTCoreVersion=f2c5b34ee1 \ No newline at end of file +spongeApiVersion=7.2.0-SNAPSHOT +mcTesterDep=org.spongepowered:mctester:0.10.6-SNAPSHOT +NTCoreVersion=f2c5b34ee1