File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/gradlex/javamodule/moduleinfo Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1616
1717package org .gradlex .javamodule .moduleinfo ;
1818
19- import org .gradle .api .artifacts .CacheableRule ;
19+ import org .gradle .api .artifacts .transform . CacheableTransform ;
2020import org .gradle .api .artifacts .transform .InputArtifact ;
2121import org .gradle .api .artifacts .transform .TransformAction ;
2222import org .gradle .api .artifacts .transform .TransformOutputs ;
8080 * The transformation fails the build if a Jar does not contain information and no extra information
8181 * was defined for it. This way we make sure that all Jars are turned into modules.
8282 */
83- @ CacheableRule
83+ @ CacheableTransform
8484public abstract class ExtraJavaModuleInfoTransform implements TransformAction <ExtraJavaModuleInfoTransform .Parameter > {
8585
8686 private static final Pattern MODULE_INFO_CLASS_MRJAR_PATH = Pattern .compile ("META-INF/versions/\\ d+/module-info.class" );
You can’t perform that action at this time.
0 commit comments