Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DenaryDev committed Nov 24, 2023
1 parent ee909aa commit 0a94c69
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@ public CrystalLibraryExtension(ObjectFactory factory, Project project) {
public Property<String> getLibraryName() {
return this.libraryName;
}

public void setLibraryName(String name) {
this.libraryName.set(name);
}
}
3 changes: 2 additions & 1 deletion buildSrc/src/main/kotlin/crystal.base.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ java {
}

val env: Map<String, String> = System.getenv()
val repo = if (rootProject.version.toString().endsWith("-SNAPSHOT")) "snapshots" else "releases"

publishing {
repositories {
maven("https://the-planet.fun/repo/snapshots/") {
maven("https://the-planet.fun/repo/$repo/") {
name = "sapphire"
credentials(PasswordCredentials::class)
}
Expand Down
2 changes: 1 addition & 1 deletion library/paper/nms/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("io.papermc.paperweight.userdev") version "1.5.4"
id("io.papermc.paperweight.userdev") version "1.5.10"
}

crystalModule {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
package me.denarydev.crystal.nms;

import org.bukkit.craftbukkit.v1_20_R1.inventory.CraftItemStack;
import org.bukkit.craftbukkit.v1_20_R2.inventory.CraftItemStack;
import org.bukkit.entity.EntityType;
import org.bukkit.inventory.ItemStack;

Expand Down
3 changes: 1 addition & 2 deletions library/paper/serializers/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("io.papermc.paperweight.userdev") version "1.5.4"
id("io.papermc.paperweight.userdev") version "1.5.10"
}

crystalModule {
Expand All @@ -16,7 +16,6 @@ dependencies {

testImplementation(platform(libs.junit.bom))
testImplementation("org.junit.jupiter:junit-jupiter")
//testImplementation(libs.mockito)
testImplementation(libs.mockbukkit)
}

Expand Down
3 changes: 0 additions & 3 deletions library/paper/utils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ crystalModule {

dependencies {
compileOnly(libs.paper)
compileOnly(libs.lombok)
compileOnly(libs.authlib)
annotationProcessor(libs.lombok)
}
20 changes: 8 additions & 12 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,23 @@ dependencyResolutionManagement {

versionCatalogs {
create("libs") {
library("paper", "io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
library("paper", "io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT")

library("slf4j", "org.slf4j:slf4j-api:2.0.7")
library("annotations", "org.jetbrains:annotations:24.0.1")
library("lombok", "org.projectlombok:lombok:1.18.26")
library("commons-lang3", "org.apache.commons:commons-lang3:3.12.0")
library("authlib", "com.mojang:authlib:4.0.43")
library("slf4j", "org.slf4j:slf4j-api:2.0.9")
library("annotations", "org.jetbrains:annotations:24.1.0")

val configurateVersion = "4.1.2"
library("configurate", "org.spongepowered:configurate-core:$configurateVersion")
library("hocon", "org.spongepowered:configurate-hocon:$configurateVersion")
library("yaml", "org.spongepowered:configurate-yaml:$configurateVersion")
library("gson", "org.spongepowered:configurate-gson:$configurateVersion")

library("hikari", "com.zaxxer:HikariCP:5.0.1")
library("mysql-connector", "com.mysql:mysql-connector-j:8.0.33")
library("sqlite-jdbc", "org.xerial:sqlite-jdbc:3.42.0.0")
library("hikari", "com.zaxxer:HikariCP:5.1.0")
library("mysql-connector", "com.mysql:mysql-connector-j:8.2.0")
library("sqlite-jdbc", "org.xerial:sqlite-jdbc:3.44.0.0")

library("junit-bom", "org.junit:junit-bom:5.10.0")
library("mockito", "org.mockito:mockito-core:5.6.0")
library("mockbukkit", "com.github.seeseemelk:MockBukkit-v1.20:3.44.0")
library("junit-bom", "org.junit:junit-bom:5.10.1")
library("mockbukkit", "com.github.seeseemelk:MockBukkit-v1.20:3.47.0")

bundle("sql", listOf("hikari", "mysql-connector", "sqlite-jdbc"))
bundle("configurate", listOf("hocon", "yaml", "gson"))
Expand Down

0 comments on commit 0a94c69

Please sign in to comment.