A few cleanup things

This commit is contained in:
Wyatt Childers 2016-02-02 15:12:54 -05:00
parent d468557e79
commit 8e49538e6e
2 changed files with 2 additions and 7 deletions

View File

@ -85,7 +85,7 @@ subprojects {
archives javadocJar
}
if (!name.equals('worldedit-forge')) {
if (!(name.equals('worldedit-forge') || name.equals('worldedit-sponge'))) {
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource

View File

@ -49,7 +49,7 @@ minecraft {
mappings = "snapshot_20160111"
runDir = 'run'
replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java"
replaceIn "com/sk89q/worldedit/sponge/SpongeWorldEdit.java"
replace "%VERSION%", project.version
}
@ -61,11 +61,6 @@ processResources {
'mcVersion': project.minecraft.version,
'forgeVersion': project.forgeVersion,
'internalVersion': project.internalVersion
include 'mcmod.info'
}
from (sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}