Skip to content

Commit

Permalink
Fix gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Sep 14, 2024
1 parent bf60f3f commit 5ce4487
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
}

repositories {
gradlePluginPortal()
mavenLocal()
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
Expand All @@ -22,8 +23,8 @@ dependencies {
compileOnly(files("libs/dtlTraders.jar"))
}

group = "cccm5.github.io"
version = "2.0.0_beta-3"
group = "io.github.cccm5"
version = "2.0.0_beta-4"
description = "Cargo"
java.toolchain.languageVersion = JavaLanguageVersion.of(21)

Expand All @@ -43,7 +44,7 @@ tasks.processResources {
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "cccm5.github.io"
groupId = "io.github.cccm5"
artifactId = "cargo"
version = "${project.version}"

Expand All @@ -53,7 +54,7 @@ publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/apdevteam/apcargomerchant")
url = uri("https://maven.pkg.github.com/apdevteam/cargo")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
Expand Down
Binary file modified libs/dtlTraders.jar
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static List<Inventory> getInventoriesWithSpace(Craft craft, ItemStack ite
if(item.getType() == Material.AIR)
throw new IllegalArgumentException("item must not have type Material.AIR");
ArrayList<Inventory> invs = new ArrayList<Inventory>();
for(Location loc : movecraftLocationToBukkitLocation(craft.getHitBox(),craft.getW()))
for(Location loc : movecraftLocationToBukkitLocation(craft.getHitBox(),craft.getWorld()))
for(Material m : lookup){
boolean foundStack=false;
if(loc.getBlock().getType() == m)
Expand Down Expand Up @@ -130,7 +130,7 @@ public static List<Inventory> getInventories(Craft craft, ItemStack item, Materi
if(craft == null)
throw new IllegalArgumentException("craft must not be null");
ArrayList<Inventory> invs = new ArrayList<Inventory>();
for(Location loc : movecraftLocationToBukkitLocation(craft.getHitBox(),craft.getW()))
for(Location loc : movecraftLocationToBukkitLocation(craft.getHitBox(),craft.getWorld()))
for(Material m : lookup){
boolean foundStack=false;
if(loc.getBlock().getType() == m)
Expand Down

0 comments on commit 5ce4487

Please sign in to comment.