Skip to content

Commit

Permalink
Added FulmiCollection dependency.
Browse files Browse the repository at this point in the history
Added Java 8 compatibility.
Fixed Main-Class attribute in MANIFEST.MF.
Created own PreventSaving annotation.
Added automatic release GitHub action.
Added ReflectionsUtil library (TEMPORARY).
  • Loading branch information
fulminazzo committed Dec 20, 2023
1 parent 73a4211 commit ab82742
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ tasks.register('javadocJar', Jar) {
jar {
manifest {
attributes(
"Main-Class": "${project.group}.${project.name.toLowerCase()}.${project.name}",
"Main-Class": "${project.group}.${project.name.toLowerCase()}.YAMLMain",
"Manifest-Version": "${project.version}"
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@ default <T> boolean check(String name, Object object, Class<T> clazz) {
* Compares this configuration with another.
*
* @param configuration the configuration
* @param ignore the keys to ignore during checking
* @return the result of the comparison as configuration checker
*/
default ConfigurationChecker compare(IConfiguration configuration, String... ignore) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static Yaml newYaml() {
* Add all the parsers present in the package: ../yamlelements
*/
public static void addParsers() {
String packageName = FileConfiguration.class.getPackageName();
String packageName = FileConfiguration.class.getPackage().getName();
String[] tmp = packageName.split("\\.");
packageName = String.join(".", Arrays.copyOfRange(tmp, 0, tmp.length - 1));
addParsers(packageName + ".yamlelements");
Expand Down

0 comments on commit ab82742

Please sign in to comment.