diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 099fb81..4b7760c 100755 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -13,13 +13,14 @@ 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/guiy-compose/maven-metadata.xml -# pages-path: build/dokka/htmlMultiModule/ -# dokka: dokkaHtmlMultiModule + maven-snapshot-metadata-url: https://repo.mineinabyss.com/snapshots/com/mineinabyss/guiy-compose/maven-metadata.xml maven-username: ${{ secrets.MAVEN_PUBLISH_USERNAME }} maven-password: ${{ secrets.MAVEN_PUBLISH_PASSWORD }} release-files: | diff --git a/build.gradle.kts b/build.gradle.kts index e4e1cb2..86fdb86 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,14 +3,14 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile val idofrontVersion: String by project plugins { - alias(libs.plugins.mia.kotlin.jvm) - alias(libs.plugins.mia.papermc) - alias(libs.plugins.mia.nms) - alias(libs.plugins.mia.copyjar) - alias(libs.plugins.mia.publication) - alias(libs.plugins.mia.autoversion) - alias(libs.plugins.mia.testing) - alias(libs.plugins.compose) + alias(idofrontLibs.plugins.mia.kotlin.jvm) + alias(idofrontLibs.plugins.mia.papermc) + alias(idofrontLibs.plugins.mia.nms) + alias(idofrontLibs.plugins.mia.copyjar) + alias(idofrontLibs.plugins.mia.publication) + alias(idofrontLibs.plugins.mia.autoversion) + alias(idofrontLibs.plugins.mia.testing) + alias(idofrontLibs.plugins.compose) } @@ -32,10 +32,10 @@ repositories { dependencies { // MineInAbyss platform - compileOnly(libs.kotlinx.coroutines) - compileOnly(libs.minecraft.mccoroutine) - compileOnly(libs.kotlin.reflect) - compileOnly(libs.minecraft.anvilgui) + compileOnly(idofrontLibs.kotlinx.coroutines) + compileOnly(idofrontLibs.minecraft.mccoroutine) + compileOnly(idofrontLibs.kotlin.reflect) + compileOnly(idofrontLibs.minecraft.anvilgui) // Shaded api(compose.runtime) { @@ -43,6 +43,6 @@ dependencies { exclude("org.jetbrains.kotlinx") } - 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 bb179f7..d7806f3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ kotlin.code.style=official group=com.mineinabyss version=0.9 -idofrontVersion=0.20.6 +idofrontVersion=0.23.0 diff --git a/guiy-example/build.gradle.kts b/guiy-example/build.gradle.kts index 06c80ff..ac673aa 100644 --- a/guiy-example/build.gradle.kts +++ b/guiy-example/build.gradle.kts @@ -1,17 +1,17 @@ val idofrontVersion: String by project plugins { - alias(libs.plugins.mia.kotlin.jvm) - alias(libs.plugins.mia.papermc) - alias(libs.plugins.mia.copyjar) - alias(libs.plugins.compose) + alias(idofrontLibs.plugins.mia.kotlin.jvm) + alias(idofrontLibs.plugins.mia.papermc) + alias(idofrontLibs.plugins.mia.copyjar) + alias(idofrontLibs.plugins.compose) } dependencies { // MineInAbyss platform compileOnly(project(":")) - compileOnly(libs.kotlinx.coroutines) - compileOnly(libs.idofront.commands) + compileOnly(idofrontLibs.kotlinx.coroutines) + compileOnly(idofrontLibs.idofront.commands) } tasks { diff --git a/settings.gradle.kts b/settings.gradle.kts index 911940e..327e469 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -24,7 +24,7 @@ dependencyResolutionManagement { maven("https://repo.mineinabyss.com/releases") } - versionCatalogs.create("libs").from("com.mineinabyss:catalog:$idofrontVersion") + versionCatalogs.create("idofrontLibs").from("com.mineinabyss:catalog:$idofrontVersion") } rootProject.name = "guiy-compose"