Skip to content

Commit

Permalink
chore: Update idofront, publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Mar 16, 2024
1 parent acc101f commit a3997b0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 26 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
28 changes: 14 additions & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}


Expand All @@ -32,17 +32,17 @@ 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) {
exclude("org.jetbrains.kotlin")
exclude("org.jetbrains.kotlinx")
}

implementation(libs.bundles.idofront.core)
implementation(libs.idofront.nms)
implementation(idofrontLibs.bundles.idofront.core)
implementation(idofrontLibs.idofront.nms)
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kotlin.code.style=official
group=com.mineinabyss
version=0.9
idofrontVersion=0.20.6
idofrontVersion=0.23.0
12 changes: 6 additions & 6 deletions guiy-example/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a3997b0

Please sign in to comment.