diff options
author | LexManos <LexManos@gmail.com> | 2021-01-17 17:35:01 -0800 |
---|---|---|
committer | LexManos <LexManos@gmail.com> | 2021-01-17 17:40:39 -0800 |
commit | 4089917696fffbd4b818fb90958d20f0714f93fb (patch) | |
tree | 1f5de4972d9afe0328d7d0ce929aac06c3bca15e /src/api/java | |
parent | 631cd05e726092c51e95b52bb8a8bb6a2ae2cc42 (diff) | |
download | Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.tar.gz Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.tar.bz2 Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.zip |
Move to net.minecraftforge package, and update license headers.
Diffstat (limited to 'src/api/java')
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/artifact/Artifact.java (renamed from src/api/java/com/amadornes/artifactural/api/artifact/Artifact.java) | 10 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactIdentifier.java (renamed from src/api/java/com/amadornes/artifactural/api/artifact/ArtifactIdentifier.java) | 4 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactMetadata.java (renamed from src/api/java/com/amadornes/artifactural/api/artifact/ArtifactMetadata.java) | 4 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactType.java (renamed from src/api/java/com/amadornes/artifactural/api/artifact/ArtifactType.java) | 4 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/artifact/Internal.java (renamed from src/api/java/com/amadornes/artifactural/api/artifact/Internal.java) | 10 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/artifact/MissingArtifactException.java (renamed from src/api/java/com/amadornes/artifactural/api/artifact/MissingArtifactException.java) | 4 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/artifact/Streamable.java (renamed from src/api/java/com/amadornes/artifactural/api/artifact/Streamable.java) | 4 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/cache/ArtifactCache.java (renamed from src/api/java/com/amadornes/artifactural/api/cache/ArtifactCache.java) | 6 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/repository/ArtifactProvider.java (renamed from src/api/java/com/amadornes/artifactural/api/repository/ArtifactProvider.java) | 8 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/repository/Repository.java (renamed from src/api/java/com/amadornes/artifactural/api/repository/Repository.java) | 8 | ||||
-rw-r--r-- | src/api/java/net/minecraftforge/artifactural/api/transform/ArtifactTransformer.java (renamed from src/api/java/com/amadornes/artifactural/api/transform/ArtifactTransformer.java) | 10 |
11 files changed, 36 insertions, 36 deletions
diff --git a/src/api/java/com/amadornes/artifactural/api/artifact/Artifact.java b/src/api/java/net/minecraftforge/artifactural/api/artifact/Artifact.java index 1da3c90..3d444fa 100644 --- a/src/api/java/com/amadornes/artifactural/api/artifact/Artifact.java +++ b/src/api/java/net/minecraftforge/artifactural/api/artifact/Artifact.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,15 +17,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.artifact; - -import com.amadornes.artifactural.api.cache.ArtifactCache; -import com.amadornes.artifactural.api.transform.ArtifactTransformer; +package net.minecraftforge.artifactural.api.artifact; import java.io.File; import java.io.IOException; import java.io.InputStream; +import net.minecraftforge.artifactural.api.cache.ArtifactCache; +import net.minecraftforge.artifactural.api.transform.ArtifactTransformer; + public interface Artifact { static Artifact none() { diff --git a/src/api/java/com/amadornes/artifactural/api/artifact/ArtifactIdentifier.java b/src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactIdentifier.java index e663c11..6485a59 100644 --- a/src/api/java/com/amadornes/artifactural/api/artifact/ArtifactIdentifier.java +++ b/src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactIdentifier.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.artifact; +package net.minecraftforge.artifactural.api.artifact; import java.util.function.Predicate; diff --git a/src/api/java/com/amadornes/artifactural/api/artifact/ArtifactMetadata.java b/src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactMetadata.java index af5e08a..6bdf854 100644 --- a/src/api/java/com/amadornes/artifactural/api/artifact/ArtifactMetadata.java +++ b/src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactMetadata.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.artifact; +package net.minecraftforge.artifactural.api.artifact; public interface ArtifactMetadata { diff --git a/src/api/java/com/amadornes/artifactural/api/artifact/ArtifactType.java b/src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactType.java index 40e5aa6..e2d717c 100644 --- a/src/api/java/com/amadornes/artifactural/api/artifact/ArtifactType.java +++ b/src/api/java/net/minecraftforge/artifactural/api/artifact/ArtifactType.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.artifact; +package net.minecraftforge.artifactural.api.artifact; public enum ArtifactType { BINARY, SOURCE, OTHER diff --git a/src/api/java/com/amadornes/artifactural/api/artifact/Internal.java b/src/api/java/net/minecraftforge/artifactural/api/artifact/Internal.java index 39bc983..4e9a03c 100644 --- a/src/api/java/com/amadornes/artifactural/api/artifact/Internal.java +++ b/src/api/java/net/minecraftforge/artifactural/api/artifact/Internal.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,14 +17,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.artifact; - -import com.amadornes.artifactural.api.cache.ArtifactCache; -import com.amadornes.artifactural.api.transform.ArtifactTransformer; +package net.minecraftforge.artifactural.api.artifact; import java.io.File; import java.io.InputStream; +import net.minecraftforge.artifactural.api.cache.ArtifactCache; +import net.minecraftforge.artifactural.api.transform.ArtifactTransformer; + final class Internal { static final ArtifactIdentifier NO_IDENTIFIER = new ArtifactIdentifier() { diff --git a/src/api/java/com/amadornes/artifactural/api/artifact/MissingArtifactException.java b/src/api/java/net/minecraftforge/artifactural/api/artifact/MissingArtifactException.java index 3caa7ec..18686a6 100644 --- a/src/api/java/com/amadornes/artifactural/api/artifact/MissingArtifactException.java +++ b/src/api/java/net/minecraftforge/artifactural/api/artifact/MissingArtifactException.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.artifact; +package net.minecraftforge.artifactural.api.artifact; public class MissingArtifactException extends RuntimeException { private static final long serialVersionUID = 4902516963452435653L; diff --git a/src/api/java/com/amadornes/artifactural/api/artifact/Streamable.java b/src/api/java/net/minecraftforge/artifactural/api/artifact/Streamable.java index b8fcdf6..fa073e5 100644 --- a/src/api/java/com/amadornes/artifactural/api/artifact/Streamable.java +++ b/src/api/java/net/minecraftforge/artifactural/api/artifact/Streamable.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.artifact; +package net.minecraftforge.artifactural.api.artifact; import java.io.IOException; import java.io.InputStream; diff --git a/src/api/java/com/amadornes/artifactural/api/cache/ArtifactCache.java b/src/api/java/net/minecraftforge/artifactural/api/cache/ArtifactCache.java index 00e2197..9681b0d 100644 --- a/src/api/java/com/amadornes/artifactural/api/cache/ArtifactCache.java +++ b/src/api/java/net/minecraftforge/artifactural/api/cache/ArtifactCache.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,9 +17,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.cache; +package net.minecraftforge.artifactural.api.cache; -import com.amadornes.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.Artifact; public interface ArtifactCache { diff --git a/src/api/java/com/amadornes/artifactural/api/repository/ArtifactProvider.java b/src/api/java/net/minecraftforge/artifactural/api/repository/ArtifactProvider.java index d48856f..cdcfc1a 100644 --- a/src/api/java/com/amadornes/artifactural/api/repository/ArtifactProvider.java +++ b/src/api/java/net/minecraftforge/artifactural/api/repository/ArtifactProvider.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,13 +17,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.repository; - -import com.amadornes.artifactural.api.artifact.Artifact; +package net.minecraftforge.artifactural.api.repository; import java.util.function.Function; import java.util.function.Predicate; +import net.minecraftforge.artifactural.api.artifact.Artifact; + public interface ArtifactProvider<I> { Artifact getArtifact(I info); diff --git a/src/api/java/com/amadornes/artifactural/api/repository/Repository.java b/src/api/java/net/minecraftforge/artifactural/api/repository/Repository.java index 2e1de79..e9694d8 100644 --- a/src/api/java/com/amadornes/artifactural/api/repository/Repository.java +++ b/src/api/java/net/minecraftforge/artifactural/api/repository/Repository.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,12 +17,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.repository; +package net.minecraftforge.artifactural.api.repository; import java.io.File; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; public interface Repository { diff --git a/src/api/java/com/amadornes/artifactural/api/transform/ArtifactTransformer.java b/src/api/java/net/minecraftforge/artifactural/api/transform/ArtifactTransformer.java index b129d5b..86a43ca 100644 --- a/src/api/java/com/amadornes/artifactural/api/transform/ArtifactTransformer.java +++ b/src/api/java/net/minecraftforge/artifactural/api/transform/ArtifactTransformer.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,13 +17,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.api.transform; - -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; +package net.minecraftforge.artifactural.api.transform; import java.util.function.UnaryOperator; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; + public interface ArtifactTransformer { static ArtifactTransformer of(UnaryOperator<Artifact> operator) { |