name.remal.gradle_plugins.toolkit.testkit.ChildProjectOf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testkit Show documentation
Show all versions of testkit Show documentation
Remal Gradle plugins: toolkit: testkit
package name.remal.gradle_plugins.toolkit.testkit;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import lombok.AllArgsConstructor;
import lombok.RequiredArgsConstructor;
/**
* This annotation is supposed to be used only on parameters. {@link ElementType#FIELD} target is added to
* simplify Lombok's @{@link RequiredArgsConstructor} and @{@link AllArgsConstructor} annotations usage if
* lombok.copyableAnnotations += {@link ChildProjectOf}
* is set in lombokj.config
file.
*/
@Target({PARAMETER, FIELD})
@Retention(RUNTIME)
@Documented
public @interface ChildProjectOf {
/**
* Parameter name with parent Gradle project
*/
String value();
}