Skip to content

Commit

Permalink
update gradle version
Browse files Browse the repository at this point in the history
  • Loading branch information
MORIMORI0317 committed Mar 16, 2024
1 parent 1d24e7e commit 8477eae
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ allprojects {
maven {
url "https://cursemaven.com"
}
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}

tasks.withType(JavaCompile) {
Expand Down
13 changes: 9 additions & 4 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,18 @@ dependencies {
modRuntimeOnly "me.shedaniel:RoughlyEnoughItems-fabric:11.0.597"
modApi "dev.felnull:special-model-loader:1.1.0"
include "dev.felnull:special-model-loader:1.1.0"
modApi "curse.maven:ctm-535489:4438793"//Sound Physics Remastered

//modApi "curse.maven:ctm-535489:4438793"//Sound Physics Remastered
modApi "maven.modrinth:sound-physics-remastered:fabric-1.19.4-1.2.1"

modApi "vazkii.patchouli:Patchouli:1.19.4-79-FABRIC"

shadowIn("dev.arbjerg:lavaplayer:${rootProject.lava_version}") {
exclude group: 'dev.arbjerg', module: 'lavaplayer-natives'
}

shadowIn 'com.github.sealedtx:java-youtube-downloader:3.2.3'

shadowIn "dev.felnull:felnull-java-library:${rootProject.felnull_version}"
shadowIn 'com.mpatric:mp3agic:0.9.1'
}
Expand Down Expand Up @@ -127,19 +132,19 @@ shadowJar {
exclude "architectury.common.json"

configurations = [project.configurations.shadowCommon]
classifier "dev-shadow"
archiveClassifier.set("dev-shadow")
}

remapJar {
injectAccessWidener = true
input.set shadowJar.archiveFile
dependsOn shadowJar
classifier null
archiveClassifier.set(null)
setArchivesBaseName("${rootProject.archives_base_name}-${project.name}-mc${rootProject.minecraft_version}")
}

jar {
classifier "dev"
archiveClassifier.set("dev")
}

sourcesJar {
Expand Down
15 changes: 9 additions & 6 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,17 @@ dependencies {
modApi "dev.felnull:otyacraftengine-forge:${rootProject.oe_version}"
modApi "me.shedaniel.cloth:cloth-config-forge:10.0.96"
modRuntimeOnly "me.shedaniel:RoughlyEnoughItems-forge:10.0.578"
modApi "curse.maven:ctm-535489:4438790"//Sound Physics Remastered

// modApi "curse.maven:ctm-535489:4438790"//Sound Physics Remastered
modApi "maven.modrinth:sound-physics-remastered:forge-1.19.4-1.2.1"

modCompileOnly "vazkii.patchouli:Patchouli:1.19.4-79-FORGE:api"
modRuntimeOnly "vazkii.patchouli:Patchouli:1.19.4-79-FORGE"


shadowIn("dev.arbjerg:lavaplayer:${rootProject.lava_version}"){
shadowIn("dev.arbjerg:lavaplayer:${rootProject.lava_version}") {
exclude group: 'dev.arbjerg', module: 'lavaplayer-natives'
}

shadowIn 'com.github.sealedtx:java-youtube-downloader:3.2.3'
shadowIn "dev.felnull:felnull-java-library:${rootProject.felnull_version}"
shadowIn 'com.mpatric:mp3agic:0.9.1'
Expand Down Expand Up @@ -114,18 +117,18 @@ shadowJar {
exclude "architectury.common.json"

configurations = [project.configurations.shadowCommon]
classifier "dev-shadow"
archiveClassifier.set("dev-shadow")
}

remapJar {
input.set shadowJar.archiveFile
dependsOn shadowJar
classifier null
archiveClassifier.set(null)
setArchivesBaseName("${rootProject.archives_base_name}-${project.name}-mc${rootProject.minecraft_version}")
}

jar {
classifier "dev"
archiveClassifier.set("dev")
}

sourcesJar {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mod_display_name=IamMusicPlayer
mod_version=3.21.7+pre.1
#Dependencies
architectury_version=8.1.73
fabric_loader_version=0.14.17
fabric_loader_version=0.14.21
fabric_api_version=0.76.0+1.19.4
forge_version=1.19.4-45.0.9
felnull_version=1.75
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 8477eae

Please sign in to comment.