From 826dfebba5d20d132dea27940ee274a906c6fff0 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 24 Jul 2022 18:39:45 +0200 Subject: [PATCH] build: Release 2.6.0 --- LICENSE | 8 ++++---- build.gradle.kts | 2 +- renovate.json | 3 +-- .../thevoxelbox/voxelsniper/VoxelSniperPlugin.java | 2 +- .../voxelsniper/brush/property/BrushPattern.java | 14 +++++++------- .../brush/property/BrushPatternType.java | 2 +- .../brush/property/BrushProperties.java | 2 +- .../brush/property/BrushPropertiesBuilder.java | 2 +- .../voxelsniper/command/PatternParser.java | 2 +- .../sniper/toolkit/ToolkitProperties.java | 12 ++++++------ 10 files changed, 24 insertions(+), 25 deletions(-) diff --git a/LICENSE b/LICENSE index 9d742475..f288702d 100644 --- a/LICENSE +++ b/LICENSE @@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - {one line to give the program's name and a brief idea of what it does.} - Copyright (C) {year} {name of author} + + Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: - {project} Copyright (C) {year} {fullname} + Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff --git a/build.gradle.kts b/build.gradle.kts index 8d028919..bded0398 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -51,7 +51,7 @@ configurations.all { } group = "com.intellectualsites.fastasyncvoxelsniper" -version = "2.5.1-SNAPSHOT" +version = "2.6.0" bukkit { name = "FastAsyncVoxelSniper" diff --git a/renovate.json b/renovate.json index 031e5c7d..c95407fb 100644 --- a/renovate.json +++ b/renovate.json @@ -1,7 +1,6 @@ { "extends": [ - "config:base", - ":disableDependencyDashboard" + "config:base" ], "labels": ["Renovate"], "commitMessagePrefix": "build: ", diff --git a/src/main/java/com/thevoxelbox/voxelsniper/VoxelSniperPlugin.java b/src/main/java/com/thevoxelbox/voxelsniper/VoxelSniperPlugin.java index 77b7df1a..366fcf0d 100644 --- a/src/main/java/com/thevoxelbox/voxelsniper/VoxelSniperPlugin.java +++ b/src/main/java/com/thevoxelbox/voxelsniper/VoxelSniperPlugin.java @@ -209,7 +209,7 @@ public SniperRegistry getSniperRegistry() { * Return the pattern parser. * * @return the pattern parser - * @since TODO + * @since 2.6.0 */ public PatternParser getPatternParser() { return patternParser; diff --git a/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPattern.java b/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPattern.java index 93526ff3..a7828215 100644 --- a/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPattern.java +++ b/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPattern.java @@ -19,7 +19,7 @@ public class BrushPattern { * * @param pattern the pattern * @param name the name - * @since TODO + * @since 2.6.0 */ public BrushPattern(Pattern pattern, String name) { this.pattern = pattern; @@ -30,7 +30,7 @@ public BrushPattern(Pattern pattern, String name) { * Create a new brush pattern from a block type. * * @param blockType the block type - * @since TODO + * @since 2.6.0 */ public BrushPattern(BlockType blockType) { this(blockType, blockType.getId()); @@ -40,7 +40,7 @@ public BrushPattern(BlockType blockType) { * Create a new brush pattern from a block state. * * @param blockState the block state - * @since TODO + * @since 2.6.0 */ public BrushPattern(BlockState blockState) { this(blockState, blockState.getAsString()); @@ -50,7 +50,7 @@ public BrushPattern(BlockState blockState) { * Gets pattern. * * @return the pattern - * @since TODO + * @since 2.6.0 */ public Pattern getPattern() { return pattern; @@ -63,7 +63,7 @@ public Pattern getPattern() { * - block data for block states * * @return the pattern name - * @since TODO + * @since 2.6.0 */ public String getName() { return name; @@ -73,7 +73,7 @@ public String getName() { * Try to parse the pattern as a block type. * * @return the potential corresponding block type - * @since TODO + * @since 2.6.0 */ public @Nullable BlockType asBlockType() { if (this.pattern instanceof BaseBlock baseBlock) { @@ -92,7 +92,7 @@ public String getName() { * Try to parse the pattern as a block state. * * @return the potential corresponding block state - * @since TODO + * @since 2.6.0 */ public @Nullable BlockState asBlockState() { if (this.pattern instanceof BaseBlock baseBlock) { diff --git a/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPatternType.java b/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPatternType.java index 444933a6..1a98776a 100644 --- a/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPatternType.java +++ b/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPatternType.java @@ -5,7 +5,7 @@ * {@code BrushPatternType.PATTERN} might not support all brushes such as * {@link com.thevoxelbox.voxelsniper.brush.type.SpiralStaircaseBrush}. * - * @since TODO + * @since 2.6.0 */ public enum BrushPatternType { diff --git a/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushProperties.java b/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushProperties.java index 18964d1d..0005c603 100644 --- a/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushProperties.java +++ b/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushProperties.java @@ -74,7 +74,7 @@ public List getAliases() { * Gets the accepted brush pattern type for this brush. * * @return the brush pattern type - * @since TODO + * @since 2.6.0 */ public BrushPatternType getBrushPatternType() { return brushPatternType; diff --git a/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPropertiesBuilder.java b/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPropertiesBuilder.java index d295d305..15a05d1e 100644 --- a/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPropertiesBuilder.java +++ b/src/main/java/com/thevoxelbox/voxelsniper/brush/property/BrushPropertiesBuilder.java @@ -52,7 +52,7 @@ public BrushPropertiesBuilder alias(String alias) { * * @param brushPatternType the brush pattern type * @return the brush properties builder - * @since TODO + * @since 2.6.0 */ public BrushPropertiesBuilder brushPatternType(BrushPatternType brushPatternType) { this.brushPatternType = brushPatternType; diff --git a/src/main/java/com/thevoxelbox/voxelsniper/command/PatternParser.java b/src/main/java/com/thevoxelbox/voxelsniper/command/PatternParser.java index bf79621d..d6005aa5 100644 --- a/src/main/java/com/thevoxelbox/voxelsniper/command/PatternParser.java +++ b/src/main/java/com/thevoxelbox/voxelsniper/command/PatternParser.java @@ -13,7 +13,7 @@ /** * VoxelSniper pattern parser used for argument completion and parsing. * - * @since TODO + * @since 2.6.0 */ public class PatternParser extends AbstractFactory { diff --git a/src/main/java/com/thevoxelbox/voxelsniper/sniper/toolkit/ToolkitProperties.java b/src/main/java/com/thevoxelbox/voxelsniper/sniper/toolkit/ToolkitProperties.java index 86458515..45d43f7f 100644 --- a/src/main/java/com/thevoxelbox/voxelsniper/sniper/toolkit/ToolkitProperties.java +++ b/src/main/java/com/thevoxelbox/voxelsniper/sniper/toolkit/ToolkitProperties.java @@ -52,7 +52,7 @@ public void reset() { /** * Resets the pattern. * - * @since TODO + * @since 2.6.0 */ public void resetPattern() { this.pattern = new BrushPattern(plugin.getVoxelSniperConfig().getDefaultBlockMaterial().getDefaultState()); @@ -61,7 +61,7 @@ public void resetPattern() { /** * Resets the replace pattern. * - * @since TODO + * @since 2.6.0 */ public void resetReplacePattern() { this.replacePattern = new BrushPattern(plugin.getVoxelSniperConfig().getDefaultReplaceBlockMaterial().getDefaultState()); @@ -94,7 +94,7 @@ public boolean isVoxelListContains(BlockState blockData) { * Returns the pattern. * * @return the pattern - * @since TODO + * @since 2.6.0 */ public BrushPattern getPattern() { return this.pattern; @@ -104,7 +104,7 @@ public BrushPattern getPattern() { * Sets the pattern. * * @param brushPattern the new pattern - * @since TODO + * @since 2.6.0 */ public void setPattern(BrushPattern brushPattern) { this.pattern = brushPattern; @@ -114,7 +114,7 @@ public void setPattern(BrushPattern brushPattern) { * Returns the replace pattern. * * @return the replace pattern - * @since TODO + * @since 2.6.0 */ public BrushPattern getReplacePattern() { return this.replacePattern; @@ -124,7 +124,7 @@ public BrushPattern getReplacePattern() { * Sets the replace pattern. * * @param replaceBrushPattern the new replace pattern - * @since TODO + * @since 2.6.0 */ public void setReplacePattern(BrushPattern replaceBrushPattern) { this.replacePattern = replaceBrushPattern;