mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-04-13 09:31:28 +00:00
Make --compile craftbukkit
more consistent and not version dependant
This commit is contained in:
parent
88401a235a
commit
ae85546c00
1 changed files with 2 additions and 2 deletions
|
@ -671,7 +671,7 @@ public class Builder
|
|||
// Git spigotServerGit = Git.open( spigotServer );
|
||||
if ( compile == null || compile.isEmpty() )
|
||||
{
|
||||
if ( versionInfo.getToolsVersion() <= 104 || dev )
|
||||
if ( dev )
|
||||
{
|
||||
compile = Arrays.asList( Compile.CRAFTBUKKIT, Compile.SPIGOT );
|
||||
} else
|
||||
|
@ -752,7 +752,7 @@ public class Builder
|
|||
finalName = outputNameFlag.value( options );
|
||||
}
|
||||
|
||||
if ( compile.contains( Compile.CRAFTBUKKIT ) && ( versionInfo.getToolsVersion() < 101 || versionInfo.getToolsVersion() > 104 ) )
|
||||
if ( compile.contains( Compile.CRAFTBUKKIT ) )
|
||||
{
|
||||
copyJar( "CraftBukkit/target", "craftbukkit", suffix, new File( outputDirFlag.value( options ), "craftbukkit-" + versionInfo.getMinecraftVersion() + ".jar" ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue