Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ allprojects {
sourceCompatibility = 1.8
targetCompatibility = 1.8

group = "io.github.legacyrewoven.rewoven-api"
group = "net.legacyfabric.legacy-fabric-api"

repositories {
maven {
Expand Down Expand Up @@ -207,6 +207,10 @@ subprojects {
}
}

task printProjectPath() {
System.out.println(rootProject.projectDir.toPath().resolve("../legacy-rewoven-maven").toString())
}

task remapMavenJar(type: RemapJarTask, dependsOn: jar) {
afterEvaluate {
input = file("${project.buildDir}/libs/${archivesBaseName}-${project.version}-dev.jar")
Expand Down
2 changes: 1 addition & 1 deletion modules/client/rendering/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = getSubprojectVersion(project, "1.0.0")

dependencies {
implementation project(path: ":rewoven-api-base", configuration: "dev")
implementation project(path: ":legacy-fabric-api-base", configuration: "dev")
}
2 changes: 1 addition & 1 deletion modules/entity-events/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = getSubprojectVersion(project, "1.0.0")

dependencies {
implementation project(path: ':rewoven-api-base', configuration: 'dev')
implementation project(path: ':legacy-fabric-api-base', configuration: 'dev')
}
2 changes: 1 addition & 1 deletion modules/lifecycle-events/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = getSubprojectVersion(project, "1.0.0")

dependencies {
implementation project(path: ':rewoven-api-base', configuration: 'dev')
implementation project(path: ':legacy-fabric-api-base', configuration: 'dev')
}
2 changes: 1 addition & 1 deletion modules/networking/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = getSubprojectVersion(project, "1.0.0")

dependencies {
implementation project(path: ":rewoven-api-base", configuration: 'dev')
implementation project(path: ":legacy-fabric-api-base", configuration: 'dev')
}
2 changes: 1 addition & 1 deletion modules/server/gamerules/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = getSubprojectVersion(project, "1.0.0")

dependencies {
implementation project(path: ":rewoven-api-base", configuration: 'dev')
implementation project(path: ":legacy-fabric-api-base", configuration: 'dev')
}
2 changes: 1 addition & 1 deletion modules/server/permissions/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = getSubprojectVersion(project, "1.0.0")

dependencies {
implementation project(path: ':rewoven-api-base', configuration: 'dev')
implementation project(path: ':legacy-fabric-api-base', configuration: 'dev')
}
6 changes: 3 additions & 3 deletions modules/server/sponge-commands/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version = getSubprojectVersion(project, "1.0.0")

dependencies {
implementation project(path: ":rewoven-api-base", configuration: 'dev')
implementation project(path: ":rewoven-vanilla-command-api-v1", configuration: 'dev')
implementation project(path: ":rewoven-permissions-api-v1", configuration: 'dev')
implementation project(path: ":legacy-fabric-api-base", configuration: 'dev')
implementation project(path: ":legacy-fabric-vanilla-command-api-v1", configuration: 'dev')
implementation project(path: ":legacy-fabric-permissions-api-v1", configuration: 'dev')
}
4 changes: 2 additions & 2 deletions modules/server/vanilla-commands/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version = getSubprojectVersion(project, "1.0.0")

dependencies {
implementation project(path: ":rewoven-api-base", configuration: 'dev')
implementation project(path: ":rewoven-lifecycle-events-v1", configuration: 'dev')
implementation project(path: ":legacy-fabric-api-base", configuration: 'dev')
implementation project(path: ":legacy-fabric-lifecycle-events-v1", configuration: 'dev')
}
26 changes: 13 additions & 13 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pluginManagement {
}
}

rootProject.name = "rewoven-api"
rootProject.name = "legacy-fabric-api"

def addModule(String dir, String name) {
include(dir)
Expand All @@ -23,17 +23,17 @@ def addModule(String dir, String subdir, String name) {
project(":$dir").name = name
}

addModule("base", "rewoven-api-base")
addModule("resources", "rewoven-resource-loader-v1")
addModule("client", "rendering", "rewoven-rendering-api-v1")
addModule("client", "keybindings", "rewoven-keybinding-api-v1")
addModule("networking", "rewoven-networking-api-v1")
addModule("crash-report-info", "rewoven-crash-report-info-v1")
addModule("lifecycle-events", "rewoven-lifecycle-events-v1")
addModule("entity-events", "rewoven-entity-events-v1")
addModule("server", "vanilla-commands", "rewoven-vanilla-command-api-v1")
addModule("server", "sponge-commands", "rewoven-sponge-command-api-v2")
addModule("server", "permissions", "rewoven-permissions-api-v1")
addModule("server", "gamerules", "rewoven-gamerule-api-v1")
addModule("base", "legacy-fabric-api-base")
addModule("resources", "legacy-fabric-resource-loader-v1")
addModule("client", "rendering", "legacy-fabric-rendering-api-v1")
addModule("client", "keybindings", "legacy-fabric-keybinding-api-v1")
addModule("networking", "legacy-fabric-networking-api-v1")
addModule("crash-report-info", "legacy-fabric-crash-report-info-v1")
addModule("lifecycle-events", "legacy-fabric-lifecycle-events-v1")
addModule("entity-events", "legacy-fabric-entity-events-v1")
addModule("server", "vanilla-commands", "legacy-fabric-vanilla-command-api-v1")
addModule("server", "sponge-commands", "legacy-fabric-sponge-command-api-v2")
addModule("server", "permissions", "legacy-fabric-permissions-api-v1")
addModule("server", "gamerules", "legacy-fabric-gamerule-api-v1")

include("testmods")
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class ResourceReloadTest implements ClientModInitializer {

@Override
public void onInitializeClient() {
Identifier id = new Identifier("legacy-fabric-api", "test_reload");
Identifier id = new Identifier("rewoven-api", "test_reload");
ResourceManagerHelper.getInstance().registerReloadListener(new IdentifiableResourceReloadListener() {
@Override
public Identifier getFabricId() {
Expand Down