Skip to content

Commit

Permalink
add option to disable shade inlining in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Dec 4, 2024
1 parent 29645ce commit 4b8b22c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/xyz/wagyourtail/jvmdg/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static void main(String[] args) throws IOException, ClassNotFoundExceptio
new Arguments("--dumpClasses", "Dump classes to the debug folder", new String[]{"-d"}, null),
new Arguments("downgradeApi", "Retrieves and downgrades the java api jar", null, new String[]{"outputPath"})
),
new Arguments("--disable-inlining", "Disables shade inlining api's that are only used in one class into that class", null, null),
new Arguments("downgrade", "Downgrades a jar or folder", null, null).addChildren(
input,
classpath
Expand Down Expand Up @@ -148,6 +149,8 @@ public static void main(String[] args) throws IOException, ClassNotFoundExceptio
}
}
flags.multiReleaseVersions = versions;
case "--disable-inlining":
flags.shadeInlining = false;
default:
}
}
Expand Down

0 comments on commit 4b8b22c

Please sign in to comment.