-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
sources jar remapping #102
Conversation
seems to work, not sure if automatically configuring it is good though
import javax.inject.Inject | ||
import kotlin.io.path.* | ||
|
||
abstract class RemapSourcesJarTaskImpl @Inject constructor(provider: MinecraftConfig): RemapJarTaskImpl(provider) { |
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 don't like this extending RemapJar, imo it'd make more sense if you made an AbstractRemapJarTask
that they both implemented. mainly so things like tasks.withType
don't accidentally target both when they don't mean to
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.
makes sense
adds a function
MinecraftConfig.remapSources
just likeremap
, along with supporting infrastructure to remap said sources (RemapSourcesJarTaskImpl
)tests in
1.21-NeoForged-Fabric