-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a plugin for ATs #9
Conversation
Last commit published: 3a52fde222cd23130ec02a9d6385e115487603e4. PR PublishingThe artifacts published by this PR:Repository DeclarationIn order to use the artifacts published by the PR, add the following repository to your buildscript: repositories {
maven {
name 'Maven for PR #9' // https://github.com/neoforged/JavaSourceTransformer/pull/9
url 'https://prmaven.neoforged.net/JavaSourceTransformer/pr9'
content {
includeModule('net.neoforged.jst', 'jst-cli-bundle')
includeModule('net.neoforged.jst', 'jst-cli')
}
}
} |
accesstransformers/src/main/java/net/neoforged/jst/accesstransformers/ATsPlugin.java
Outdated
Show resolved
Hide resolved
accesstransformers/src/main/java/net/neoforged/jst/accesstransformers/ATsTransformer.java
Outdated
Show resolved
Hide resolved
|
||
public class ATsTransformer implements SourceTransformer { | ||
|
||
@CommandLine.Option(names = "--access-transformer", required = true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure about required=true here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea how it works with lists actually, I need to test it.
This allows not running decomp again when changing an AT.