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 | |
parent | 631cd05e726092c51e95b52bb8a8bb6a2ae2cc42 (diff) | |
download | Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.tar.gz Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.tar.bz2 Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.zip |
Move to net.minecraftforge package, and update license headers.
-rw-r--r-- | LICENSE-header.txt | 2 | ||||
-rw-r--r-- | build.gradle | 2 | ||||
-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 | ||||
-rw-r--r-- | src/gradlecomp/java/net/minecraftforge/artifactural/gradle/DependencyResolver.java (renamed from src/gradlecomp/java/com/amadornes/artifactural/gradle/DependencyResolver.java) | 4 | ||||
-rw-r--r-- | src/gradlecomp/java/net/minecraftforge/artifactural/gradle/GradleArtifact.java (renamed from src/gradlecomp/java/com/amadornes/artifactural/gradle/GradleArtifact.java) | 12 | ||||
-rw-r--r-- | src/gradlecomp/java/net/minecraftforge/artifactural/gradle/GradleRepositoryAdapter.java (renamed from src/gradlecomp/java/com/amadornes/artifactural/gradle/GradleRepositoryAdapter.java) | 16 | ||||
-rw-r--r-- | src/gradlecomp/java/net/minecraftforge/artifactural/gradle/ModifierAccess.java (renamed from src/gradlecomp/java/com/amadornes/artifactural/gradle/ModifierAccess.java) | 4 | ||||
-rw-r--r-- | src/gradlecomp/java/net/minecraftforge/artifactural/gradle/ReflectionUtils.java (renamed from src/gradlecomp/java/com/amadornes/artifactural/gradle/ReflectionUtils.java) | 4 | ||||
-rw-r--r-- | src/java9/net/minecraftforge/artifactural/gradle/ModifierAccess.java (renamed from src/java9/com/amadornes/artifactural/gradle/ModifierAccess.java) | 2 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/artifact/ArtifactBase.java (renamed from src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java) | 16 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactIdentifier.java (renamed from src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactIdentifier.java) | 6 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactMetadata.java (renamed from src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java) | 8 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/artifact/StreamableArtifact.java (renamed from src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java) | 18 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/cache/ArtifactCacheBase.java (renamed from src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java) | 20 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/cache/LocatedArtifactCache.java (renamed from src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java) | 10 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/repository/ArtifactProviderBuilder.java (renamed from src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java) | 10 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/repository/SimpleRepository.java (renamed from src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java) | 12 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/util/HashFunction.java (renamed from src/shared/java/com/amadornes/artifactural/base/util/HashFunction.java) | 4 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/util/PatternReplace.java (renamed from src/shared/java/com/amadornes/artifactural/base/util/PatternReplace.java) | 4 |
29 files changed, 113 insertions, 113 deletions
diff --git a/LICENSE-header.txt b/LICENSE-header.txt index a6bee08..74e543c 100644 --- a/LICENSE-header.txt +++ b/LICENSE-header.txt @@ -1,5 +1,5 @@ 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 diff --git a/build.gradle b/build.gradle index 00240bd..10b9def 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ group = 'net.minecraftforge' version = gitVersion() def gitVersion() { - def raw = grgit.describe(longDescr: true) + def raw = grgit.describe(longDescr: true, tags: true) def desc = (raw == null ? 'unknown-unknown-unknown' : raw).split('-') as List def hash = desc.remove(desc.size() - 1) def offset = desc.remove(desc.size() - 1) 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) { diff --git a/src/gradlecomp/java/com/amadornes/artifactural/gradle/DependencyResolver.java b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/DependencyResolver.java index 9040b63..a0d8a00 100644 --- a/src/gradlecomp/java/com/amadornes/artifactural/gradle/DependencyResolver.java +++ b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/DependencyResolver.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.gradle; +package net.minecraftforge.artifactural.gradle; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; diff --git a/src/gradlecomp/java/com/amadornes/artifactural/gradle/GradleArtifact.java b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/GradleArtifact.java index b1fc537..e099c73 100644 --- a/src/gradlecomp/java/com/amadornes/artifactural/gradle/GradleArtifact.java +++ b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/GradleArtifact.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.gradle; +package net.minecraftforge.artifactural.gradle; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.artifact.ArtifactType; -import com.amadornes.artifactural.base.artifact.StreamableArtifact; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactType; +import net.minecraftforge.artifactural.base.artifact.StreamableArtifact; import java.io.File; import java.util.Set; diff --git a/src/gradlecomp/java/com/amadornes/artifactural/gradle/GradleRepositoryAdapter.java b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/GradleRepositoryAdapter.java index 51def33..87cd246 100644 --- a/src/gradlecomp/java/com/amadornes/artifactural/gradle/GradleRepositoryAdapter.java +++ b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/GradleRepositoryAdapter.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.gradle; +package net.minecraftforge.artifactural.gradle; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.artifact.MissingArtifactException; -import com.amadornes.artifactural.api.repository.Repository; -import com.amadornes.artifactural.base.artifact.SimpleArtifactIdentifier; -import com.amadornes.artifactural.base.cache.LocatedArtifactCache; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.MissingArtifactException; +import net.minecraftforge.artifactural.api.repository.Repository; +import net.minecraftforge.artifactural.base.artifact.SimpleArtifactIdentifier; +import net.minecraftforge.artifactural.base.cache.LocatedArtifactCache; import org.gradle.api.artifacts.ComponentMetadataSupplierDetails; import org.gradle.api.artifacts.component.ComponentArtifactIdentifier; diff --git a/src/gradlecomp/java/com/amadornes/artifactural/gradle/ModifierAccess.java b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/ModifierAccess.java index 0a84755..fb68144 100644 --- a/src/gradlecomp/java/com/amadornes/artifactural/gradle/ModifierAccess.java +++ b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/ModifierAccess.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.gradle; +package net.minecraftforge.artifactural.gradle; import java.lang.reflect.Field; import java.lang.reflect.Modifier; diff --git a/src/gradlecomp/java/com/amadornes/artifactural/gradle/ReflectionUtils.java b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/ReflectionUtils.java index 1bef580..4e18885 100644 --- a/src/gradlecomp/java/com/amadornes/artifactural/gradle/ReflectionUtils.java +++ b/src/gradlecomp/java/net/minecraftforge/artifactural/gradle/ReflectionUtils.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.gradle; +package net.minecraftforge.artifactural.gradle; import java.lang.reflect.Field; import java.lang.reflect.Method; diff --git a/src/java9/com/amadornes/artifactural/gradle/ModifierAccess.java b/src/java9/net/minecraftforge/artifactural/gradle/ModifierAccess.java index 69e7dff..cf6f65f 100644 --- a/src/java9/com/amadornes/artifactural/gradle/ModifierAccess.java +++ b/src/java9/net/minecraftforge/artifactural/gradle/ModifierAccess.java @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.gradle; +package net.minecraftforge.artifactural.gradle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodHandles.Lookup; diff --git a/src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java b/src/shared/java/net/minecraftforge/artifactural/base/artifact/ArtifactBase.java index 0eaa66d..ddcc8a5 100644 --- a/src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/artifact/ArtifactBase.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.base.artifact; +package net.minecraftforge.artifactural.base.artifact; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; -import com.amadornes.artifactural.api.artifact.ArtifactType; -import com.amadornes.artifactural.api.cache.ArtifactCache; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.transform.ArtifactTransformer; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; +import net.minecraftforge.artifactural.api.artifact.ArtifactType; +import net.minecraftforge.artifactural.api.cache.ArtifactCache; +import net.minecraftforge.artifactural.api.transform.ArtifactTransformer; public abstract class ArtifactBase implements Artifact { diff --git a/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactIdentifier.java b/src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactIdentifier.java index f0a4189..5ab60f6 100644 --- a/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactIdentifier.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactIdentifier.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.base.artifact; +package net.minecraftforge.artifactural.base.artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; public class SimpleArtifactIdentifier implements ArtifactIdentifier { diff --git a/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java b/src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactMetadata.java index a42894b..21a1f20 100644 --- a/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactMetadata.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,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.artifact; - -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; +package net.minecraftforge.artifactural.base.artifact; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; @@ -27,6 +25,8 @@ import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; + public class SimpleArtifactMetadata implements ArtifactMetadata { private final List<Entry> entries = new LinkedList<>(); diff --git a/src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java b/src/shared/java/net/minecraftforge/artifactural/base/artifact/StreamableArtifact.java index e43b7c9..0428572 100644 --- a/src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/artifact/StreamableArtifact.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,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.artifact; - -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; -import com.amadornes.artifactural.api.artifact.ArtifactType; -import com.amadornes.artifactural.api.artifact.MissingArtifactException; -import com.amadornes.artifactural.api.artifact.Streamable; +package net.minecraftforge.artifactural.base.artifact; import java.io.ByteArrayInputStream; import java.io.File; @@ -33,6 +26,13 @@ import java.io.IOException; import java.io.InputStream; import java.net.URL; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; +import net.minecraftforge.artifactural.api.artifact.ArtifactType; +import net.minecraftforge.artifactural.api.artifact.MissingArtifactException; +import net.minecraftforge.artifactural.api.artifact.Streamable; + public class StreamableArtifact extends ArtifactBase { public static Artifact ofFile(ArtifactIdentifier identifier, ArtifactType type, File file) { diff --git a/src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java b/src/shared/java/net/minecraftforge/artifactural/base/cache/ArtifactCacheBase.java index 08a2840..3268871 100644 --- a/src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/cache/ArtifactCacheBase.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,16 +17,16 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.cache; +package net.minecraftforge.artifactural.base.cache; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; -import com.amadornes.artifactural.api.artifact.ArtifactType; -import com.amadornes.artifactural.api.artifact.MissingArtifactException; -import com.amadornes.artifactural.api.cache.ArtifactCache; -import com.amadornes.artifactural.api.transform.ArtifactTransformer; -import com.amadornes.artifactural.base.artifact.StreamableArtifact; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; +import net.minecraftforge.artifactural.api.artifact.ArtifactType; +import net.minecraftforge.artifactural.api.artifact.MissingArtifactException; +import net.minecraftforge.artifactural.api.cache.ArtifactCache; +import net.minecraftforge.artifactural.api.transform.ArtifactTransformer; +import net.minecraftforge.artifactural.base.artifact.StreamableArtifact; import java.io.File; import java.io.FileInputStream; diff --git a/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java b/src/shared/java/net/minecraftforge/artifactural/base/cache/LocatedArtifactCache.java index 0aeab9c..5627b50 100644 --- a/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/cache/LocatedArtifactCache.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,11 +17,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.cache; +package net.minecraftforge.artifactural.base.cache; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.base.util.PatternReplace; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.base.util.PatternReplace; import java.io.File; import java.util.AbstractMap; diff --git a/src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java b/src/shared/java/net/minecraftforge/artifactural/base/repository/ArtifactProviderBuilder.java index 638ed9d..282f9b4 100644 --- a/src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/repository/ArtifactProviderBuilder.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,16 +17,16 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.repository; - -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.repository.ArtifactProvider; +package net.minecraftforge.artifactural.base.repository; import java.util.HashSet; import java.util.Set; import java.util.function.Function; import java.util.function.Predicate; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.repository.ArtifactProvider; + public class ArtifactProviderBuilder<S, I> implements ArtifactProvider.Builder<S, I> { public static <I> ArtifactProviderBuilder<I, I> begin(Class<I> type) { diff --git a/src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java b/src/shared/java/net/minecraftforge/artifactural/base/repository/SimpleRepository.java index 060780a..3076b08 100644 --- a/src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/repository/SimpleRepository.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.base.repository; +package net.minecraftforge.artifactural.base.repository; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.repository.ArtifactProvider; -import com.amadornes.artifactural.api.repository.Repository; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.repository.ArtifactProvider; +import net.minecraftforge.artifactural.api.repository.Repository; public class SimpleRepository implements Repository { diff --git a/src/shared/java/com/amadornes/artifactural/base/util/HashFunction.java b/src/shared/java/net/minecraftforge/artifactural/base/util/HashFunction.java index 9fe4ea9..bcf00f9 100644 --- a/src/shared/java/com/amadornes/artifactural/base/util/HashFunction.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/util/HashFunction.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.base.util; +package net.minecraftforge.artifactural.base.util; import java.io.File; import java.io.FileInputStream; diff --git a/src/shared/java/com/amadornes/artifactural/base/util/PatternReplace.java b/src/shared/java/net/minecraftforge/artifactural/base/util/PatternReplace.java index e81bd36..6d3cf86 100644 --- a/src/shared/java/com/amadornes/artifactural/base/util/PatternReplace.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/util/PatternReplace.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.base.util; +package net.minecraftforge.artifactural.base.util; import java.util.Map; |