mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
Put GenerateDocumentation annotation inside groovy file
... since java files are not compiled on Jenkins causing compilation failures since the annotation cannot be found.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.sap.piper
|
||||
|
||||
import java.lang.annotation.ElementType
|
||||
import java.lang.annotation.Retention
|
||||
import java.lang.annotation.RetentionPolicy
|
||||
import java.lang.annotation.Target
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target([ElementType.METHOD, ElementType.TYPE])
|
||||
public @interface GenerateDocumentation {
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package com.sap.piper;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.METHOD, ElementType.TYPE})
|
||||
public @interface GenerateDocumentation {
|
||||
}
|
||||
Reference in New Issue
Block a user