Skip to content

Commit

Permalink
Make entry point serializable to make them compatible with Gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Aug 15, 2024
1 parent 0e49cc3 commit bb444eb
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@
import net.bytebuddy.dynamic.scaffold.inline.MethodNameTransformer;
import net.bytebuddy.implementation.Implementation;

import java.io.Serializable;

import static net.bytebuddy.matcher.ElementMatchers.isDeclaredBy;
import static net.bytebuddy.matcher.ElementMatchers.not;

/**
* An entry point for a build tool which is responsible for the transformation's configuration.
*/
public interface EntryPoint {
public interface EntryPoint extends Serializable {

/**
* Returns the Byte Buddy instance to use.
Expand Down Expand Up @@ -159,6 +161,11 @@ public DynamicType.Builder<?> transform(TypeDescription typeDescription,
@HashCodeAndEqualsPlugin.Enhance
class Unvalidated implements EntryPoint {

/**
* The serial version UID.
*/
private static final long serialVersionUID = 1L;

/**
* The entry point to use.
*/
Expand Down

0 comments on commit bb444eb

Please sign in to comment.