From 49c5e9eadd36dcc174d287fd9862eb497698658c Mon Sep 17 00:00:00 2001 From: Speiger Date: Tue, 28 Sep 2021 04:43:04 +0200 Subject: [PATCH] Changes. -Added: New Changes to Changelog -Fixed: Missing Autogenerated Type -Cleanup: Gradle file got cleaned up from things it no longer needs. -Changed: Upgraded to SCG 1.0.5 for incoming new features. --- .classpath | 2 +- Changelog.md | 4 ++++ build.gradle | 16 ++-------------- .../templates/utils/Iterables.template | 1 + 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.classpath b/.classpath index 5a835ad..a9b51ac 100644 --- a/.classpath +++ b/.classpath @@ -38,7 +38,7 @@ - + diff --git a/Changelog.md b/Changelog.md index 4734a36..d241177 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Changelog of versions +###Version 0.4.1 +- Changed: ForEach with input now provides input, value instead of value, input, this improves the usage of method references greatly +- Added: addAll with Array-types in collections. +- Added: Java Iterator/Iterable support for Stream replacing methods ### Version 0.4.0 - Changed: Iterable specific helper functions were moved out of Iterators and moved into Iterables diff --git a/build.gradle b/build.gradle index d4d1583..9afe86a 100644 --- a/build.gradle +++ b/build.gradle @@ -30,21 +30,9 @@ eclipse { classpath { downloadJavadoc = true downloadSources = true - file { - whenMerged { - //Enforce a custom container and allowing access to the sun.misc package which is nessesary for EnumMaps - entries.find{ it.kind == 'con' && it.path.startsWith('org.eclipse.jdt')}.path = 'org.eclipse.jdt.launching.JRE_CONTAINER'; - } - } } } -compileJava { - options.compilerArgs << '-XDignore.symbol.file' - options.fork = true - options.forkOptions.executable = 'javac' // may not needed on 1.8 -} - sourceSets { builder } @@ -54,8 +42,8 @@ configurations { } dependencies { - builderCompile 'de.speiger:Simple-Code-Generator:1.0.4' - runtimeOnly 'de.speiger:Simple-Code-Generator:1.0.4' + builderCompile 'de.speiger:Simple-Code-Generator:1.0.5' + runtimeOnly 'de.speiger:Simple-Code-Generator:1.0.5' testImplementation 'junit:junit:4.12' } diff --git a/src/builder/resources/speiger/assets/collections/templates/utils/Iterables.template b/src/builder/resources/speiger/assets/collections/templates/utils/Iterables.template index 3a80ce2..f79098b 100644 --- a/src/builder/resources/speiger/assets/collections/templates/utils/Iterables.template +++ b/src/builder/resources/speiger/assets/collections/templates/utils/Iterables.template @@ -113,6 +113,7 @@ public class ITERABLES /** * A Wrapper function that wraps a Java-Iterable into a Type Specific Iterable * @param iterable that should be wrapped + * @Type(T) * @return a type specific iterable */ public static GENERIC_KEY_BRACES ITERABLE KEY_GENERIC_TYPE wrap(Iterable iterable) {