All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.febit.devkit.gradle.codegen.module.default.tmpl Maven / Gradle / Ivy

The newest version!
package ${classPackage};

import java.time.Instant;

@SuppressWarnings({
        "squid:S3400" // Methods should not return constants
})
public class ${classSimpleName} {

    public static String groupId() {
        return "${groupId}";
    }

    public static String artifactId() {
        return "${artifactId}";
    }

    public static String version() {
        return "${version}";
    }

    public static String commitId() {
        return "${commitId}";
    }

    public static Instant buildTime() {
        // ${buildTime}
        return Instant.ofEpochSecond(${buildTime.epochSecond}L);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy