Skip to content

Commit

Permalink
Get rid of the jopt dep and pin typetools
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Oct 30, 2023
1 parent be49550 commit 98a62a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true

- name: Setup JDK 17
uses: actions/setup-java@v2
Expand Down
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ allprojects {
url = 'https://maven.neoforged.net/'
}
}

dependencies.testRuntimeOnly('org.apiguardian:apiguardian-api:1.1.2') // No idea why, but windows needs this to not explode.
dependencies.implementation('net.sf.jopt-simple:jopt-simple:5.0.4') // Modlauncher depends on this but doesnt do it transitivly so the tests need it explit


extraJavaModuleInfo {
failOnMissingModuleInfo = false
automaticModule('jmh-core-1.35.jar', 'jmh.core')
Expand Down Expand Up @@ -100,7 +97,7 @@ dependencies {
implementation('org.ow2.asm:asm:9.2')
implementation('org.apache.logging.log4j:log4j-api:2.17.1')
compileOnly('org.jetbrains:annotations:23.0.0')
api('net.jodah:typetools:0.6.+')
api('net.jodah:typetools:0.6.3')
}

nexusPublishing {
Expand Down
1 change: 0 additions & 1 deletion bus-test/src/test/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
requires org.apache.logging.log4j;
requires org.apache.logging.log4j.core;
requires net.neoforged.bus;
requires jopt.simple;

requires static org.jetbrains.annotations;

Expand Down

0 comments on commit 98a62a3

Please sign in to comment.