WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

GroovyMC/RootPackageTransformer

Repository files navigation

RootPackageTransformer

This tool provides the @RootPackage annotation, as well as a transformer that when applied moves any class marked with that annotation to the root package.

Use

To use, depend on the annotation:

dependencies {
    compileOnly 'org.groovymc:rootpackagetransformer:<version>'
}

The gradle plugin provides a method to create an alternative published outgoing variant for a given source set feature. The transformed artifacts will be published at the normal location, and the original artifacts will be published with the provided capability.

plugins {
    id 'java'
    id 'org.groovymc.rootpackagetransformer' version '<version>'
}

rootPackageTransformer.forSourceSet(sourceSets.main, 'org.example:example-jpms:1.0.0')

About

Tool for transforming artifacts to move marked classes to the root package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages