Make the upload task work

This commit is contained in:
Alexander Söderberg 2020-05-14 14:16:10 +02:00
parent 8fb9f29ab7
commit 7ba7df5cb2
No known key found for this signature in database
GPG Key ID: C0207FF7EA146678
5 changed files with 17 additions and 10 deletions

View File

@ -35,8 +35,8 @@ import java.util.concurrent.CompletableFuture;
/** /**
* SubCommand class * SubCommand class
* *
* @Deprecated In favor of normal Command class * @deprecated In favor of normal Command class
* @see Command(Command, boolean) * @see Command#Command(Command, boolean)
*/ */
public abstract class SubCommand extends Command { public abstract class SubCommand extends Command {
public SubCommand() { public SubCommand() {

View File

@ -33,11 +33,11 @@ import java.util.Map;
* the methods as defined by this interface: * the methods as defined by this interface:
* <ul> * <ul>
* <li>A static method "deserialize" that accepts a single {@link Map}&lt; * <li>A static method "deserialize" that accepts a single {@link Map}&lt;
* {@link String}, {@link Object}> and returns the class.</li> * {@link String}, {@link Object}&gt; and returns the class.</li>
* <li>A static method "valueOf" that accepts a single {@link Map}&lt;{@link * <li>A static method "valueOf" that accepts a single {@link Map}&lt;{@link
* String}, {@link Object}> and returns the class.</li> * String}, {@link Object}&gt; and returns the class.</li>
* <li>A constructor that accepts a single {@link Map}&lt;{@link String}, * <li>A constructor that accepts a single {@link Map}&lt;{@link String},
* {@link Object}>.</li> * {@link Object}&gt;.</li>
* </ul> * </ul>
* In addition to implementing this interface, you must register the class * In addition to implementing this interface, you must register the class
* with {@link ConfigurationSerialization#registerClass(Class)}. * with {@link ConfigurationSerialization#registerClass(Class)}.

View File

@ -321,7 +321,7 @@ public class Plot {
* the owner of this particular subplot. * the owner of this particular subplot.
* <p> * <p>
* Unlike {@link #getOwner()} this method does not * Unlike {@link #getOwner()} this method does not
* consider factors such as {@link com.github.intellectualsites.plotsquared.plot.flags.implementations.ServerPlotFlag} * consider factors such as {@link com.plotsquared.core.plot.flag.implementations.ServerPlotFlag}
* that could alter the de facto owner of the plot. * that could alter the de facto owner of the plot.
* *
* @return The plot owner of this particular (sub-)plot * @return The plot owner of this particular (sub-)plot
@ -2060,7 +2060,6 @@ public class Plot {
* @param destination The other plot to swap with * @param destination The other plot to swap with
* @param whenDone A task to run when finished, or null * @param whenDone A task to run when finished, or null
* @return boolean if swap was successful * @return boolean if swap was successful
* @see ChunkManager#swap(Location, Location, Location, Location, Runnable) to swap terrain
* @see #swapData(Plot) to swap plot settings * @see #swapData(Plot) to swap plot settings
*/ */
public CompletableFuture<Boolean> swap(Plot destination, Runnable whenDone) { public CompletableFuture<Boolean> swap(Plot destination, Runnable whenDone) {

View File

@ -98,13 +98,13 @@ public class BlockTypeWrapper {
/** /**
* Returns the block category associated with this wrapper. * Returns the block category associated with this wrapper.
* <br/> * <br>
* Invocation will try to lazily initialize the block category if it's not * Invocation will try to lazily initialize the block category if it's not
* set yet but the category id is present. If {@link BlockCategory#REGISTRY} is already populated * set yet but the category id is present. If {@link BlockCategory#REGISTRY} is already populated
* but does not contain a category with the given name, a BlockCategory containing no items * but does not contain a category with the given name, a BlockCategory containing no items
* is returned. * is returned.
* If this wrapper does not wrap a BlockCategory, null is returned. * If this wrapper does not wrap a BlockCategory, null is returned.
* <br/> * <br>
* <b>If {@link BlockCategory#REGISTRY} isn't populated yet, null is returned.</b> * <b>If {@link BlockCategory#REGISTRY} isn't populated yet, null is returned.</b>
* *
* @return the block category represented by this wrapper. * @return the block category represented by this wrapper.

View File

@ -9,6 +9,7 @@ buildscript {
dependencies { dependencies {
classpath("com.github.jengelman.gradle.plugins:shadow:5.0.0") classpath("com.github.jengelman.gradle.plugins:shadow:5.0.0")
classpath 'gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0' classpath 'gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0'
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
} }
configurations.all { configurations.all {
resolutionStrategy { resolutionStrategy {
@ -41,7 +42,9 @@ version = ver + versuffix
description = rootProject.name description = rootProject.name
allprojects { allprojects {
apply plugin: 'com.github.hierynomus.license' apply(plugin: 'com.github.hierynomus.license')
apply(plugin: 'com.bmuschko.nexus')
gradle.projectsEvaluated { gradle.projectsEvaluated {
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.compilerArgs << "-Xmaxerrs" << "1000" options.compilerArgs << "-Xmaxerrs" << "1000"
@ -53,6 +56,11 @@ allprojects {
ext.year = 2020 ext.year = 2020
includes(["**/*.java","**/*.js"]) includes(["**/*.java","**/*.js"])
} }
nexus {
sign = false
repositoryUrl = 'https://mvn.intellectualsites.com/content/repositories/releases/'
snapshotRepositoryUrl = 'https://mvn.intellectualsites.com/content/repositories/snapshots/'
}
} }
subprojects { subprojects {