Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Bump idofront and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Mar 14, 2024
1 parent a9a4113 commit 0dc0752
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 27 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: MineInAbyss/publish-action@master
with:
maven-metadata-url: https://repo.mineinabyss.com/releases/com/mineinabyss/protocolburrito/maven-metadata.xml
maven-snapshot-metadata-url: https://repo.mineinabyss.com/snapshots/com/mineinabyss/protocolburrito/maven-metadata.xml
maven-username: ${{ secrets.MAVEN_PUBLISH_USERNAME }}
maven-password: ${{ secrets.MAVEN_PUBLISH_PASSWORD }}
release-files: |
Expand Down
16 changes: 7 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import io.papermc.paperweight.util.registering

@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.mia.kotlin.jvm)
alias(libs.plugins.mia.nms)
alias(libs.plugins.mia.publication)
alias(libs.plugins.mia.autoversion)
alias(idofrontLibs.plugins.mia.kotlin.jvm)
alias(idofrontLibs.plugins.mia.nms)
alias(idofrontLibs.plugins.mia.publication)
alias(idofrontLibs.plugins.mia.autoversion)
}

repositories {
Expand All @@ -25,19 +25,17 @@ allprojects {
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}

val libs = rootProject.libs
val libs = rootProject.idofrontLibs

dependencies {
compileOnly(kotlin("stdlib-jdk8"))
compileOnly(libs.minecraft.plugin.protocollib) {
// this dep wasn't being resolved.
exclude(group = "com.comphenix.executors")
}
compileOnly(libs.minecraft.plugin.protocollib)
}
}

dependencies {
api(project(":protocolburrito-api"))
api(idofrontLibs.minecraft.plugin.protocollib)
}

sourceSets["main"].java.srcDir(file("$buildDir/generated/burrito/main"))
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=0.9
group=com.mineinabyss
idofrontVersion=0.21.2
idofrontVersion=0.22.3
publishComponentName=java
10 changes: 5 additions & 5 deletions protocolburrito-api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.mia.kotlin.jvm)
id(libs.plugins.mia.papermc.get().pluginId)
alias(libs.plugins.mia.publication)
alias(libs.plugins.mia.autoversion)
alias(idofrontLibs.plugins.mia.kotlin.jvm)
id(idofrontLibs.plugins.mia.papermc.get().pluginId)
alias(idofrontLibs.plugins.mia.publication)
alias(idofrontLibs.plugins.mia.autoversion)
}

dependencies {
compileOnly(libs.kotlin.reflect)
compileOnly(idofrontLibs.kotlin.reflect)
}
6 changes: 3 additions & 3 deletions protocolburrito-generator/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.mia.kotlin.jvm)
alias(libs.plugins.mia.nms)
alias(idofrontLibs.plugins.mia.kotlin.jvm)
alias(idofrontLibs.plugins.mia.nms)
}

repositories {
Expand All @@ -12,7 +12,7 @@ repositories {

dependencies {
implementation(kotlin("reflect"))
implementation("io.papermc.paper:paper-server:userdev-${libs.versions.minecraft.get()}")
implementation("io.papermc.paper:paper-server:userdev-${idofrontLibs.versions.minecraft.get()}")
implementation(burritoLibs.minecraft.plugin.protocollib)
implementation(burritoLibs.kotlinpoet)
implementation(burritoLibs.reflections)
Expand Down
13 changes: 5 additions & 8 deletions protocolburrito-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
val idofrontVersion: String by project

@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.mia.kotlin.jvm)
id(libs.plugins.mia.papermc.get().pluginId)
alias(libs.plugins.mia.nms)
id(libs.plugins.mia.copyjar.get().pluginId)
alias(idofrontLibs.plugins.mia.kotlin.jvm)
id(idofrontLibs.plugins.mia.papermc.get().pluginId)
alias(idofrontLibs.plugins.mia.nms)
id(idofrontLibs.plugins.mia.copyjar.get().pluginId)
}

dependencies {
compileOnly(libs.bundles.idofront.core)
compileOnly(idofrontLibs.bundles.idofront.core)
implementation(project(":"))
}
4 changes: 3 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pluginManagement {
google()
maven("https://repo.mineinabyss.com/releases")
maven("https://repo.papermc.io/repository/maven-public/")
mavenLocal()
}

resolutionStrategy.eachPlugin {
Expand All @@ -22,10 +23,11 @@ dependencyResolutionManagement {

repositories {
maven("https://repo.mineinabyss.com/releases")
mavenLocal()
}

versionCatalogs {
create("libs"){
create("idofrontLibs"){
from("com.mineinabyss:catalog:$idofrontVersion")
}
create("burritoLibs").from(files("gradle/burritoLibs.versions.toml"))
Expand Down

0 comments on commit 0dc0752

Please sign in to comment.