From 3cd665a1595813117b23cb9f6786489ecff57d24 Mon Sep 17 00:00:00 2001 From: darbyjack Date: Sun, 13 Dec 2020 18:58:55 -0600 Subject: [PATCH] Javadoc Changes - Don't fail on error - Add license to new files that were merged --- build.gradle | 7 +++++-- .../events/ExpansionsLoadedEvent.java | 20 +++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 36523ca..fcd2d75 100644 --- a/build.gradle +++ b/build.gradle @@ -49,8 +49,11 @@ tasks.withType(JavaCompile) { options.encoding = "UTF-8" } -javadoc { - options.encoding = "UTF-8" +tasks.withType(Javadoc) { + failOnError false + options.addStringOption('Xdoclint:none', '-quiet') + options.addStringOption('encoding', 'UTF-8') + options.addStringOption('charSet', 'UTF-8') } shadowJar { diff --git a/src/main/java/me/clip/placeholderapi/events/ExpansionsLoadedEvent.java b/src/main/java/me/clip/placeholderapi/events/ExpansionsLoadedEvent.java index d949b8a..157b0a0 100644 --- a/src/main/java/me/clip/placeholderapi/events/ExpansionsLoadedEvent.java +++ b/src/main/java/me/clip/placeholderapi/events/ExpansionsLoadedEvent.java @@ -1,3 +1,23 @@ +/* + * This file is part of PlaceholderAPI + * + * PlaceholderAPI + * Copyright (c) 2015 - 2020 PlaceholderAPI Team + * + * PlaceholderAPI free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PlaceholderAPI is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package me.clip.placeholderapi.events;