Add WebgitProperties configuration
Add configuration properties class with worktreePath and gitDirPath settings, and JGit dependency. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package be.seeseepuff.webgit.config;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "webgit")
|
||||
@Getter
|
||||
@Setter
|
||||
public class WebgitProperties
|
||||
{
|
||||
private Path worktreePath;
|
||||
private Path gitDirPath;
|
||||
}
|
||||
Reference in New Issue
Block a user