diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 4a83043..8dffda6 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -13,9 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - - uses: MineInAbyss/publish-action@master + - uses: MineInAbyss/publish-action@develop with: maven-metadata-url: https://repo.mineinabyss.com/releases/com/mineinabyss/stamina-climb/maven-metadata.xml maven-username: ${{ secrets.MAVEN_PUBLISH_USERNAME }} diff --git a/build.gradle.kts b/build.gradle.kts index d153b03..f0fb580 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { id("com.mineinabyss.conventions.publication") id("com.mineinabyss.conventions.copyjar") id("com.mineinabyss.conventions.autoversion") - alias(libs.plugins.kotlinx.serialization) + alias(idofrontLibs.plugins.kotlinx.serialization) } repositories { @@ -18,15 +18,15 @@ repositories { } dependencies { - compileOnly(libs.kotlin.stdlib) - compileOnly(libs.kotlinx.serialization.kaml) { + compileOnly(idofrontLibs.kotlin.stdlib) + compileOnly(idofrontLibs.kotlinx.serialization.kaml) { exclude(group = "org.jetbrains.kotlin") } - compileOnly(libs.kotlinx.coroutines) - compileOnly(libs.minecraft.mccoroutine) - compileOnly(staminaLibs.geary.papermc) - compileOnly(staminaLibs.bonehurtingjuice) + compileOnly(idofrontLibs.kotlinx.coroutines) + compileOnly(idofrontLibs.minecraft.mccoroutine) + compileOnly(libs.geary.papermc) + compileOnly(libs.bonehurtingjuice) - implementation(libs.bundles.idofront.core) - implementation(libs.idofront.nms) + implementation(idofrontLibs.bundles.idofront.core) + implementation(idofrontLibs.idofront.nms) } diff --git a/gradle.properties b/gradle.properties index bf7c1d1..cc15a56 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ group=com.mineinabyss version=0.22 -idofrontVersion=0.21.5 +idofrontVersion=0.23.0 diff --git a/gradle/staminaLibs.versions.toml b/gradle/libs.versions.toml similarity index 100% rename from gradle/staminaLibs.versions.toml rename to gradle/libs.versions.toml diff --git a/settings.gradle.kts b/settings.gradle.kts index 819613c..eaecede 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -24,8 +24,7 @@ dependencyResolutionManagement { } versionCatalogs { - create("libs").from("com.mineinabyss:catalog:$idofrontVersion") - create("staminaLibs").from(files("gradle/staminaLibs.versions.toml")) + create("idofrontLibs").from("com.mineinabyss:catalog:$idofrontVersion") } }