Skip to content

Commit

Permalink
Merge pull request #3 from Edenor-Minecraft/1.20.2_update_libs_and_pu…
Browse files Browse the repository at this point in the history
…blish_api

1.20.2 update libs and publish api
  • Loading branch information
AltronMaxX authored Sep 28, 2023
2 parents 4128f0c + a57393a commit cc5d637
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
22 changes: 18 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import io.papermc.paperweight.util.constants.*

plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.papermc.paperweight.patcher") version "1.5.4"
`maven-publish`
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
id("io.papermc.paperweight.patcher") version "1.5.7-SNAPSHOT"
}

val paperMavenPublicUrl = "https://repo.papermc.io/repository/maven-public/"
Expand All @@ -18,8 +19,8 @@ repositories {

dependencies {
remapper("net.fabricmc:tiny-remapper:0.8.6:fat")
decompiler("net.minecraftforge:forgeflower:2.0.629.0")
paperclip("io.papermc:paperclip:3.0.3")
decompiler("org.vineflower:vineflower:1.9.3")
paperclip("io.papermc:paperclip:3.0.4-SNAPSHOT")
}

allprojects {
Expand Down Expand Up @@ -50,6 +51,17 @@ subprojects {
maven(paperMavenPublicUrl)
maven("https://jitpack.io")
}


publishing {
publications {
register<MavenPublication>("release") {
groupId = rootProject.group.toString()
artifactId = rootProject.name
version = providers.gradleProperty("mcVersion").get()
}
}
}
}

paperweight {
Expand Down Expand Up @@ -104,3 +116,5 @@ tasks.register("foliaRefLatest") {
}
}
}


2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pluginManagement {
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
}

if (!file(".git").exists()) {
Expand Down

0 comments on commit cc5d637

Please sign in to comment.