Skip to content

Commit

Permalink
Make ModLauncher and ForgeSPI deps compileOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintNinja authored Apr 3, 2024
2 parents 7f46b51 + 26bfa85 commit f5ab5f6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id 'eclipse'
id 'java-library'
id 'maven-publish'
id 'net.minecraftforge.gradleutils' version '[2.1.2,)'
id 'net.minecraftforge.gradleutils' version '[2.1.2,2.3.0)'
}

group 'net.minecraftforge'
Expand Down Expand Up @@ -37,15 +37,15 @@ dependencies {
testImplementation('org.junit.jupiter:junit-jupiter-api:5.7.+')
testImplementation('org.powermock:powermock-core:2.0.+')
testImplementation('org.hamcrest:hamcrest-core:2.2')
testImplementation('org.apache.logging.log4j:log4j-core:2.14.1')
testImplementation('org.apache.logging.log4j:log4j-core:2.19.0')
testCompileOnly('org.jetbrains:annotations:21.0.1')
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine:5.7.+')
testRuntimeOnly(project(':coremods-test-jar'))

implementation(libs.modlauncher)
compileOnly(libs.modlauncher)
implementation(libs.log4j.api)
api(libs.bundles.asm)
implementation(libs.forgespi)
compileOnly(libs.forgespi)
implementation(libs.nashorn)
compileOnly(libs.nulls)
}
Expand Down
2 changes: 1 addition & 1 deletion coremods-test-jar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'org.cadixdev.licenser' version '0.6.1'
id 'eclipse'
id 'java-library'
id 'net.minecraftforge.gradleutils' version '[2.1.2,)'
id 'net.minecraftforge.gradleutils' version '[2.1.2,2.3.0)'
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion coremods-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'eclipse'
id 'java-library'
id 'org.gradlex.extra-java-module-info' version '1.4.2'
id 'net.minecraftforge.gradleutils' version '[2.1.2,)'
id 'net.minecraftforge.gradleutils' version '[2.1.2,2.3.0)'
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
dependencyResolutionManagement {
versionCatalogs {
libs {
version('asm', '9.6')
version('asm', '9.7')
library('asm', 'org.ow2.asm', 'asm' ).versionRef('asm')
library('asm-tree', 'org.ow2.asm', 'asm-tree' ).versionRef('asm')
library('asm-commons', 'org.ow2.asm', 'asm-commons').versionRef('asm')
Expand Down

0 comments on commit f5ab5f6

Please sign in to comment.