Skip to content

Commit 5ce4487

Browse files
committed
Fix gradle build
1 parent bf60f3f commit 5ce4487

9 files changed

Lines changed: 7 additions & 6 deletions

File tree

build.gradle.kts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
}
66

77
repositories {
8+
gradlePluginPortal()
89
mavenLocal()
910
mavenCentral()
1011
maven("https://repo.papermc.io/repository/maven-public/")
@@ -22,8 +23,8 @@ dependencies {
2223
compileOnly(files("libs/dtlTraders.jar"))
2324
}
2425

25-
group = "cccm5.github.io"
26-
version = "2.0.0_beta-3"
26+
group = "io.github.cccm5"
27+
version = "2.0.0_beta-4"
2728
description = "Cargo"
2829
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
2930

@@ -43,7 +44,7 @@ tasks.processResources {
4344
publishing {
4445
publications {
4546
create<MavenPublication>("maven") {
46-
groupId = "cccm5.github.io"
47+
groupId = "io.github.cccm5"
4748
artifactId = "cargo"
4849
version = "${project.version}"
4950

@@ -53,7 +54,7 @@ publishing {
5354
repositories {
5455
maven {
5556
name = "GitHubPackages"
56-
url = uri("https://maven.pkg.github.com/apdevteam/apcargomerchant")
57+
url = uri("https://maven.pkg.github.com/apdevteam/cargo")
5758
credentials {
5859
username = System.getenv("GITHUB_ACTOR")
5960
password = System.getenv("GITHUB_TOKEN")

libs/dtlTraders.jar

-343 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static List<Inventory> getInventoriesWithSpace(Craft craft, ItemStack ite
8080
if(item.getType() == Material.AIR)
8181
throw new IllegalArgumentException("item must not have type Material.AIR");
8282
ArrayList<Inventory> invs = new ArrayList<Inventory>();
83-
for(Location loc : movecraftLocationToBukkitLocation(craft.getHitBox(),craft.getW()))
83+
for(Location loc : movecraftLocationToBukkitLocation(craft.getHitBox(),craft.getWorld()))
8484
for(Material m : lookup){
8585
boolean foundStack=false;
8686
if(loc.getBlock().getType() == m)
@@ -130,7 +130,7 @@ public static List<Inventory> getInventories(Craft craft, ItemStack item, Materi
130130
if(craft == null)
131131
throw new IllegalArgumentException("craft must not be null");
132132
ArrayList<Inventory> invs = new ArrayList<Inventory>();
133-
for(Location loc : movecraftLocationToBukkitLocation(craft.getHitBox(),craft.getW()))
133+
for(Location loc : movecraftLocationToBukkitLocation(craft.getHitBox(),craft.getWorld()))
134134
for(Material m : lookup){
135135
boolean foundStack=false;
136136
if(loc.getBlock().getType() == m)

0 commit comments

Comments
 (0)