diff --git a/build.gradle b/build.gradle index 19f26c8..8107cf9 100755 --- a/build.gradle +++ b/build.gradle @@ -28,11 +28,11 @@ targetCompatibility = 1.8 versioning { // required (number) major = 3 - minor = 3 + minor = 7 patch = 1 } group = 'com.onaple' -version = "3.7.0" +version = "3.7.1" repositories { mavenCentral() @@ -70,14 +70,14 @@ bintray { publications = ['MyPublication'] pkg { repo = 'onaple' - name = 'itemizer' + name = 'Itemizer' userOrg = 'onaplerpg' licenses = ['Apache-2.0'] vcsUrl = 'git@github.com:OnapleRPG/Itemizer.git' version { - name = '3.7.0' + name = '3.7.1' released = new Date() - vcsTag = '3.7.0' + vcsTag = '3.7.1' } } } @@ -87,7 +87,7 @@ publishing { from components.java groupId 'com.onaple' artifactId 'itemizer' - version '3.7.0' + version '3.7.1' } } } diff --git a/src/main/java/com/onaple/itemizer/utils/ConfigUtils.java b/src/main/java/com/onaple/itemizer/utils/ConfigUtils.java index ccb25b0..436c180 100644 --- a/src/main/java/com/onaple/itemizer/utils/ConfigUtils.java +++ b/src/main/java/com/onaple/itemizer/utils/ConfigUtils.java @@ -12,6 +12,7 @@ import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; +import java.util.stream.Stream; import com.onaple.itemizer.Itemizer; @@ -60,8 +61,8 @@ public static List loadMultiple(Class clazz, Path initialPath) throws private static List getFilesFromPath(Path path) { List filesFound = new ArrayList<>(); if (Files.exists(path)) { - try { - filesFound.addAll(Files.walk(path, READ_RECURSION_LIMIT) + try(Stream files = Files.walk(path, READ_RECURSION_LIMIT)) { + filesFound.addAll(files .filter(Files::isRegularFile) .distinct() .collect(Collectors.toList())); diff --git a/version.properties b/version.properties index b34166e..c414ee6 100644 --- a/version.properties +++ b/version.properties @@ -1,7 +1,7 @@ -#Sat Jul 18 13:20:06 CEST 2020 +#Sat Jul 18 13:38:31 CEST 2020 MAJOR=3 MINOR=7 -PATCH=0 +PATCH=1 PRE_RELEASE= -BUILD=224 +BUILD=225 CODE=0