Skip to content

Commit 040d7d4

Browse files
committed
Initial upgrade and renames
1 parent bf2732d commit 040d7d4

File tree

252 files changed

+302
-1095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+302
-1095
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ build-out/
4444

4545
src/generated/
4646

47-
forge-main/src/generated/
47+
neoforge-main/src/generated/

build.gradle.kts

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
var envVersion: String = System.getenv("CC_VERSION") ?: "9.9.9"
2-
if(envVersion.startsWith("v"))
3-
envVersion = envVersion.trimStart('v');
4-
5-
val mod_id: String by extra
6-
val isRelease: Boolean = (System.getenv("CC_RELEASE") ?: "false").equals("true", true)
7-
8-
plugins {
9-
id("maven-publish")
10-
}
11-
12-
val deps = listOf(
13-
project(":forge-api"),
14-
project(":forge-main")
15-
)
16-
17-
deps.forEach {
18-
project.evaluationDependsOn(it.path)
19-
}
20-
21-
val PACKAGES_URL = System.getenv("GH_PKG_URL") ?: "https://maven.pkg.github.com/compactmods/compactcrafting"
22-
publishing {
23-
publications.register<MavenPublication>("allLibs") {
24-
artifactId = mod_id
25-
groupId = "dev.compactmods"
26-
version = envVersion
27-
28-
this.artifact(project(":forge-api").tasks.named("jar").get())
29-
this.artifact(project(":forge-api").tasks.named("sourcesJar").get())
30-
this.artifact(project(":forge-main").tasks.named("jar").get())
31-
this.artifact(project(":forge-main").tasks.named("jarJar").get())
32-
}
33-
34-
repositories {
35-
// GitHub Packages
36-
maven(PACKAGES_URL) {
37-
name = "GitHubPackages"
38-
credentials {
39-
username = System.getenv("GITHUB_ACTOR")
40-
password = System.getenv("GITHUB_TOKEN")
41-
}
42-
}
43-
}
44-
}
1+
//var envVersion: String = System.getenv("CC_VERSION") ?: "9.9.9"
2+
//if(envVersion.startsWith("v"))
3+
// envVersion = envVersion.trimStart('v');
4+
//
5+
//val mod_id: String by extra
6+
//val isRelease: Boolean = (System.getenv("CC_RELEASE") ?: "false").equals("true", true)
7+
//
8+
//plugins {
9+
// id("maven-publish")
10+
//}
11+
//
12+
//val deps = listOf(
13+
// project(":forge-api"),
14+
// project(":forge-main")
15+
//)
16+
//
17+
//deps.forEach {
18+
// project.evaluationDependsOn(it.path)
19+
//}
20+
//
21+
//val PACKAGES_URL = System.getenv("GH_PKG_URL") ?: "https://maven.pkg.github.com/compactmods/compactcrafting"
22+
//publishing {
23+
// publications.register<MavenPublication>("allLibs") {
24+
// artifactId = mod_id
25+
// groupId = "dev.compactmods"
26+
// version = envVersion
27+
//
28+
// this.artifact(project(":forge-api").tasks.named("jar").get())
29+
// this.artifact(project(":forge-api").tasks.named("sourcesJar").get())
30+
// this.artifact(project(":forge-main").tasks.named("jar").get())
31+
// this.artifact(project(":forge-main").tasks.named("jarJar").get())
32+
// }
33+
//
34+
// repositories {
35+
// // GitHub Packages
36+
// maven(PACKAGES_URL) {
37+
// name = "GitHubPackages"
38+
// credentials {
39+
// username = System.getenv("GITHUB_ACTOR")
40+
// password = System.getenv("GITHUB_TOKEN")
41+
// }
42+
// }
43+
// }
44+
//}

forge-api/build.gradle.kts

Lines changed: 0 additions & 109 deletions
This file was deleted.

forge-api/src/main/java/dev/compactmods/crafting/api/EnumCraftingState.java

Lines changed: 0 additions & 7 deletions
This file was deleted.

forge-api/src/main/java/dev/compactmods/crafting/api/FieldDestabilizeHandling.java

Lines changed: 0 additions & 10 deletions
This file was deleted.

forge-api/src/main/java/dev/compactmods/crafting/api/catalyst/CatalystType.java

Lines changed: 0 additions & 8 deletions
This file was deleted.

forge-api/src/main/java/dev/compactmods/crafting/api/catalyst/ICatalystMatcher.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

forge-api/src/main/java/dev/compactmods/crafting/api/components/IPositionalComponentLookup.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

forge-api/src/main/java/dev/compactmods/crafting/api/components/IRecipeBlockComponent.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

forge-api/src/main/java/dev/compactmods/crafting/api/components/IRecipeComponent.java

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)